Skip to content

Commit

Permalink
Fix rootPasswordSecretKeyRef to point correct values from Vault
Browse files Browse the repository at this point in the history
  • Loading branch information
pratik705 committed Mar 24, 2024
1 parent f17de43 commit 48f89a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/openstack-keystone.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ helm upgrade --install keystone ./keystone \
--timeout 120m \
-f /opt/genestack/helm-configs/keystone/keystone-helm-overrides.yaml \
--set endpoints.identity.auth.admin.password="$(kubectl --namespace openstack get secret keystone-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.admin.password="$(kubectl --namespace openstack get secret mariadb-root-password -o jsonpath='{.data.root-password}' | base64 -d)" \
--set endpoints.oslo_db.auth.keystone.password="$(kubectl --namespace openstack get secret keystone-db-password -o jsonpath='{.data.password}' | base64 -d)" \
--set endpoints.oslo_messaging.auth.admin.password="$(kubectl --namespace openstack get secret rabbitmq-default-user -o jsonpath='{.data.password}' | base64 -d)" \
--set endpoints.oslo_messaging.auth.keystone.password="$(kubectl --namespace openstack get secret keystone-rabbitmq-password -o jsonpath='{.data.password}' | base64 -d)" \
Expand Down
4 changes: 2 additions & 2 deletions kustomize/mariadb-cluster/base/mariadb-galera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
namespace: openstack
spec:
rootPasswordSecretKeyRef:
name: mariadb
key: mariadb-root-password
name: mariadb-root-password
key: root-password
username: mariadb
database: mariadb

Expand Down

0 comments on commit 48f89a6

Please sign in to comment.