We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e8a9df commit 76e7598Copy full SHA for 76e7598
charts/mongodb-operated/templates/NOTES.txt
@@ -2,5 +2,5 @@
2
kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.metadata.name}" services {{ .Release.Name }}-mongodb-operated-svc
3
2. Get the connection strings for the users defined:
4
{{ range .Values.users }}
5
- kubectl get secret {{ $.Release.Name }}-mongodb-operated-{{ .db }}-{{ .name }} -o 'go-template={{ "{{" }} index .data "connectionString.standard" {{ "}}" }}' | base64 -d -w0
+ kubectl get secret {{ $.Release.Name }}-mongodb-operated-{{ .db }}-{{ .name | replace "_" "-" }} -o 'go-template={{ "{{" }} index .data "connectionString.standard" {{ "}}" }}' | base64 -d -w0
6
{{ end }}
0 commit comments