postgres-operator
postgres-operator copied to clipboard
Officially maintained helm chart repositories
Both postgres-operator and postgres-operator-ui should have an officially maintained helm chart repository on artifacthub
@FxKu any news on this? Isn't it a simple github action for auto-upload?
I don't know. Maybe you want to try it out and provide a PR?
I can create a PR for the github action, but you would need to create an artifactory account, and populate the job with neccessary secrets yourselves. Otherwise, it wouldn't be an official helm repository, but a community repository.
The PR would implement something like this.
Hope that makes sense @FxKu. It really is something that should be done on your end. The Hashicorp Vault repo is a good example.
Looks like it's technically already in place. I haven't tested it fully, but I see that in each chart, we have an index.yaml
that lists the releases and where to grab the tgz archive of it. And it's already published to gh-pages. You can see the index file on gh pages for each one here and here. So each chart is serving it's own repository, but a quick test and it looks to work.
postgres-operator
# add repo for postgres-operator
helm repo add postgres-operator-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator
# install the postgres-operator
helm install postgres-operator postgres-operator-charts/postgres-operator
postgres-operator-ui
# add repo for postgres-operator-ui
helm repo add postgres-operator-ui-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui
# install the postgres-operator-ui
helm install postgres-operator-ui postgres-operator-ui-charts/postgres-ui-operator
Maybe add this to the docs?
Here is the relevant part of my terraform config (main.tf) for anyone interested:
resource "helm_release" "postgres-operator" {
name = "postgres-operator"
namespace = var.module_k8_namespace
repository = "https://opensource.zalando.com/postgres-operator/charts/postgres-operator"
chart = "postgres-operator"
version = "1.7.1"
}
resource "helm_release" "postgres-operator-ui" {
depends_on = [helm_release.postgres-operator]
name = "postgres-operator-ui"
namespace = var.module_k8_namespace
repository = "https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui"
chart = "postgres-operator-ui"
version = "1.7.1"
}
FWIW https://artifacthub.io/packages/olm/community-operators/postgres-operator exists and points to this repo. However it seems to be misconfigured somehow, as it says the latest release was on 2019:
Where exactly can I find the official operator homepage with the latest versions listed?
https://artifacthub.io/packages/helm/postgres-operator-charts/postgres-operator doesn't work
zalando.github.io/postgres-operator/charts/postgres-operator/Chart.yaml which redirects to: https://opensource.zalando.com/postgres-operator/charts/postgres-operator/Chart.yaml
Homepage is: zalando.github.io/postgres-operator