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
|
||||
*/}}
|
||||
{{- define "orchard.postgresql.passwordKey" -}}
|
||||
{{- if .Values.orchard.database.existingSecret }}
|
||||
{{- .Values.orchard.database.existingSecretPasswordKey }}
|
||||
{{- else if .Values.postgresql.enabled }}
|
||||
{{- if .Values.orchard.database.existingSecret -}}
|
||||
{{- .Values.orchard.database.existingSecretPasswordKey -}}
|
||||
{{- else if .Values.postgresql.enabled -}}
|
||||
password
|
||||
{{- else }}
|
||||
{{- else -}}
|
||||
password
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
|
||||
Reference in New Issue
Block a user