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 }}