mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-07-17 08:54:49 +00:00
Validation for postges
This commit is contained in:
committed by
Dustin J. Mitchell
parent
9bddb2f261
commit
eee66c5475
@ -52,17 +52,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if eq .Values.postgres.enabled true }}
|
||||
- name: CONNECTION
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ required "postgres.existingSecret is required when postgres is enabled" .Values.postgres.existingSecret }}
|
||||
key: connection
|
||||
optional: true
|
||||
- name: PGPASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.postgres.existingSecret }}
|
||||
key: password
|
||||
optional: true
|
||||
value: {{ include "taskchampion-sync-server.postgres-connection" . | quote }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
Reference in New Issue
Block a user