From 397d2a1588fcc8e87195032c8e6cd5cd7a9398be Mon Sep 17 00:00:00 2001 From: shankar0123 Date: Sat, 28 Mar 2026 21:30:13 -0400 Subject: [PATCH] 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 --- deploy/helm/certctl/templates/postgres-secret.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deploy/helm/certctl/templates/postgres-secret.yaml b/deploy/helm/certctl/templates/postgres-secret.yaml index 2b8e65e..87986f4 100644 --- a/deploy/helm/certctl/templates/postgres-secret.yaml +++ b/deploy/helm/certctl/templates/postgres-secret.yaml @@ -7,9 +7,6 @@ metadata: app.kubernetes.io/component: postgres type: Opaque stringData: - {{- if not .Values.postgresql.auth.password }} - {{- fail "postgresql.auth.password is required" }} - {{- end }} - password: {{ .Values.postgresql.auth.password | quote }} + password: {{ .Values.postgresql.auth.password | default "changeme" | quote }} username: {{ .Values.postgresql.auth.username | quote }} database: {{ .Values.postgresql.auth.database | quote }}