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

Signed-off-by: jotamartos <jotamartos@vmware.com>
This commit is contained in:
Juan José Martos
2023-04-27 10:32:19 +02:00
committed by GitHub
parent c6daf3d295
commit c5733e56f6
2 changed files with 3 additions and 3 deletions

View File

@@ -26,4 +26,4 @@ sources:
- https://github.com/bitnami/containers/tree/main/bitnami/mariadb
- https://github.com/prometheus/mysqld_exporter
- https://mariadb.org
version: 12.1.2
version: 12.1.3

View File

@@ -58,7 +58,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 }}
@@ -83,7 +83,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 }}