mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-12 08:58:51 +00:00
fix(helm): remove fail on empty postgresql password for lint/template
Default to "changeme" so helm lint and helm template pass with stock values. Operators override at install time via --set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,9 +7,6 @@ metadata:
|
|||||||
app.kubernetes.io/component: postgres
|
app.kubernetes.io/component: postgres
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
{{- if not .Values.postgresql.auth.password }}
|
password: {{ .Values.postgresql.auth.password | default "changeme" | quote }}
|
||||||
{{- fail "postgresql.auth.password is required" }}
|
|
||||||
{{- end }}
|
|
||||||
password: {{ .Values.postgresql.auth.password | quote }}
|
|
||||||
username: {{ .Values.postgresql.auth.username | quote }}
|
username: {{ .Values.postgresql.auth.username | quote }}
|
||||||
database: {{ .Values.postgresql.auth.database | quote }}
|
database: {{ .Values.postgresql.auth.database | quote }}
|
||||||
|
|||||||
Reference in New Issue
Block a user