Skip to content

Commit

Permalink
make the required values mandatory in postgrest
Browse files Browse the repository at this point in the history
  • Loading branch information
colearendt committed Jul 29, 2023
1 parent 1d38906 commit 4e2b656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/postgrest/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4e2b656

Please sign in to comment.