diff --git a/charts/postgrest/templates/secret.yaml b/charts/postgrest/templates/secret.yaml index 0cc2ef1..f0fddb8 100644 --- a/charts/postgrest/templates/secret.yaml +++ b/charts/postgrest/templates/secret.yaml @@ -5,9 +5,9 @@ metadata: namespace: {{ $.Release.Namespace }} stringData: db-uri.txt: |- - {{- .Values.postgrest.dbUri | nindent 4 }} + {{- required "Missing postgrest.dbUri" .Values.postgrest.dbUri | nindent 4 }} jwt-secret.txt: |- - {{- .Values.postgrest.jwtSecret | nindent 4 }} + {{- required "postgrest.jwtSecret" .Values.postgrest.jwtSecret | nindent 4 }} {{- if .Values.secret }} {{- toYaml .Values.secret | nindent 2 }} {{- end }}