Skip to content

Commit

Permalink
Update charts/pxc-db/templates/NOTES.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tplavcic authored Aug 17, 2023
1 parent 73d9ec1 commit efafdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pxc-db/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Join Percona Squad! Get early access to new product features, invite-only ”ask
1. To get a MySQL prompt inside your new cluster you can run:

{{- if hasKey .Values.pxc "clusterSecretName" }}
ROOT_PASSWORD=`kubectl -n {{ .Release.Namespace }} get secrets {{ include "pxc.clusterSecretName" . }} -o jsonpath="{.data.root}" | base64 --decode`
ROOT_PASSWORD=`kubectl -n {{ .Release.Namespace }} get secrets {{ .Values.pxc.clusterSecretName }} -o jsonpath="{.data.root}" | base64 --decode`
kubectl -n {{ .Release.Namespace }} exec -ti \
{{ include "pxc-database.fullname" . }}-pxc-0 -c pxc -- mysql -uroot -p"$ROOT_PASSWORD"
{{- else }}
Expand Down

0 comments on commit efafdfb

Please sign in to comment.