Skip to content

Commit f461c04

Browse files
committed
add pg secret to scheduler deployment
1 parent b8482b9 commit f461c04

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

helm/metadig-scheduler/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ spec:
4545
# If 'false", the secret must exist before the pod can start
4646
# App versions before v2.3.4 will read this value from a config file, not the env var.
4747
optional: true
48+
- name: PG_AUTH
49+
valueFrom:
50+
secretKeyRef:
51+
name: metadig-pg
52+
key: password
4853
volumeMounts:
4954
- name: metadig-pv
5055
mountPath: {{ .Values.persistence.mountPath }}

0 commit comments

Comments
 (0)