fix(mysql): wrong auth ref
This commit is contained in:
parent
a0bcc12c84
commit
6e48215a2a
1 changed files with 3 additions and 3 deletions
|
@ -300,9 +300,9 @@ https
|
||||||
{{- if not (.Values.gitea.config.database.HOST) -}}
|
{{- if not (.Values.gitea.config.database.HOST) -}}
|
||||||
{{- $_ := set .Values.gitea.config.database "HOST" (include "mysql.dns" .) -}}
|
{{- $_ := set .Values.gitea.config.database "HOST" (include "mysql.dns" .) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $_ := set .Values.gitea.config.database "NAME" .Values.mysql.db.name -}}
|
{{- $_ := set .Values.gitea.config.database "NAME" .Values.mysql.auth.database -}}
|
||||||
{{- $_ := set .Values.gitea.config.database "USER" .Values.mysql.db.user -}}
|
{{- $_ := set .Values.gitea.config.database "USER" .Values.mysql.auth.username -}}
|
||||||
{{- $_ := set .Values.gitea.config.database "PASSWD" .Values.mysql.db.password -}}
|
{{- $_ := set .Values.gitea.config.database "PASSWD" .Values.mysql.auth.password -}}
|
||||||
{{- else if .Values.mariadb.enabled -}}
|
{{- else if .Values.mariadb.enabled -}}
|
||||||
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "mysql" -}}
|
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "mysql" -}}
|
||||||
{{- if not (.Values.gitea.config.database.HOST) -}}
|
{{- if not (.Values.gitea.config.database.HOST) -}}
|
||||||
|
|
Loading…
Reference in a new issue