another index

This commit is contained in:
pat-s 2023-07-18 18:34:56 +02:00
parent de1d5af8c8
commit dc6bab1958
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ https
{{- end -}}
{{- define "gitea.inline_configuration.defaults.database" -}}
{{- if .Values.postgresql-ha.enabled -}}
{{- if (index .Values "postgresql-ha" "enabled") -}}
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "postgres" -}}
{{- if not (.Values.gitea.config.database.HOST) -}}
{{- $_ := set .Values.gitea.config.database "HOST" (include "postgresql.dns" .) -}}