Skip to content

Commit

Permalink
fix(gnocchi): pg admin password ref new secret (rackerlabs#617)
Browse files Browse the repository at this point in the history
The Postgres operator installs the admin password into this secret. The
old secret reference was from when installs were being done using
openstack-helm-infra.
  • Loading branch information
LukeRepko authored Dec 9, 2024
1 parent c1db168 commit 6aabdf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install-gnocchi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pushd /opt/genestack/submodules/openstack-helm-infra || exit
--set endpoints.identity.auth.gnocchi.password="$(kubectl --namespace openstack get secret gnocchi-admin -o jsonpath='{.data.password}' | base64 -d)" \
--set endpoints.oslo_db.auth.admin.password="$(kubectl --namespace openstack get secret mariadb -o jsonpath='{.data.root-password}' | base64 -d)" \
--set endpoints.oslo_db.auth.gnocchi.password="$(kubectl --namespace openstack get secret gnocchi-db-password -o jsonpath='{.data.password}' | base64 -d)" \
--set endpoints.oslo_db_postgresql.auth.admin.password="$(kubectl --namespace openstack get secret postgresql-db-admin -o jsonpath='{.data.password}' | base64 -d)" \
--set endpoints.oslo_db_postgresql.auth.admin.password="$(kubectl --namespace openstack get secret postgres.postgres-cluster.credentials.postgresql.acid.zalan.do -o jsonpath='{.data.password}' | base64 -d)" \
--set endpoints.oslo_db_postgresql.auth.gnocchi.password="$(kubectl --namespace openstack get secret gnocchi-pgsql-password -o jsonpath='{.data.password}' | base64 -d)" \
--post-renderer /etc/genestack/kustomize/kustomize.sh \
--post-renderer-args gnocchi/overlay "$@"
Expand Down

0 comments on commit 6aabdf5

Please sign in to comment.