[bitnami/mysql] Use username as key in the Service Binding secret (#16253)

Signed-off-by: jotamartos <jotamartos@vmware.com>
This commit is contained in:
Juan José Martos
2023-04-27 10:32:55 +02:00
committed by GitHub
parent bdf46e5170
commit af891d5241
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,4 +25,4 @@ name: mysql
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/mysql
- https://mysql.com
version: 9.8.1
version: 9.8.2
+2 -2
View File
@@ -43,7 +43,7 @@ data:
type: {{ print "mysql" | b64enc | quote }}
host: {{ print $host | b64enc | quote }}
port: {{ print $port | b64enc | quote }}
user: {{ print "root" | b64enc | quote }}
username: {{ print "root" | b64enc | quote }}
password: {{ print $rootPassword | b64enc | quote }}
uri: {{ printf "mysql://root:%s@%s:%s" $rootPassword $host $port | b64enc | quote }}
@@ -68,7 +68,7 @@ data:
type: {{ print "mysql" | b64enc | quote }}
host: {{ print $host | b64enc | quote }}
port: {{ print $port | b64enc | quote }}
user: {{ print .Values.auth.username | b64enc | quote }}
username: {{ print .Values.auth.username | b64enc | quote }}
{{- if $database }}
database: {{ print $database | b64enc | quote }}
{{- end }}