Fix YAML parsing error in deployment template
- Add whitespace control (-) to postgresql.passwordKey helper - Prevents newline being inserted in secretKeyRef key value 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -87,13 +87,13 @@ PostgreSQL secret name
|
|||||||
PostgreSQL password key in secret
|
PostgreSQL password key in secret
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "orchard.postgresql.passwordKey" -}}
|
{{- define "orchard.postgresql.passwordKey" -}}
|
||||||
{{- if .Values.orchard.database.existingSecret }}
|
{{- if .Values.orchard.database.existingSecret -}}
|
||||||
{{- .Values.orchard.database.existingSecretPasswordKey }}
|
{{- .Values.orchard.database.existingSecretPasswordKey -}}
|
||||||
{{- else if .Values.postgresql.enabled }}
|
{{- else if .Values.postgresql.enabled -}}
|
||||||
password
|
password
|
||||||
{{- else }}
|
{{- else -}}
|
||||||
password
|
password
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|||||||
Reference in New Issue
Block a user