Skip to content

Commit

Permalink
added externalDB password secret values (#6311)
Browse files Browse the repository at this point in the history
  • Loading branch information
minimax75 authored Sep 20, 2021
1 parent 82cb353 commit 9dfd2b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/airbyte/templates/server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,19 @@ spec:
configMapKeyRef:
name: airbyte-env
key: CONFIG_ROOT
{{- if .Values.postgresql.enabled }}
- name: DATABASE_PASSWORD
valueFrom:
configMapKeyRef:
name: airbyte-env
key: DATABASE_PASSWORD
{{- else }}
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.externalDatabase.existingSecret }}
key: {{ .Values.externalDatabase.existingSecretPasswordKey }}
{{- end }}
- name: DATABASE_URL
valueFrom:
configMapKeyRef:
Expand Down

0 comments on commit 9dfd2b8

Please sign in to comment.