Skip to content

Commit

Permalink
conditional airbyte secret
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Oct 10, 2024
1 parent 4b413c4 commit 06a7210
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte/helm/airbyte/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: airbyte
description: Unified data integration platform
type: application
version: 0.4.32
version: 0.4.33
appVersion: 0.50.33
dependencies:
- name: airbyte
Expand Down
8 changes: 8 additions & 0 deletions airbyte/helm/airbyte/templates/bootloader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,19 @@ spec:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_PORT
{{ if .Values.global.database.secretName }}
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.global.database.secretName }}
key: {{ .Values.global.database.secretValue }}
{{ else }}
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: airbyte-airbyte-secrets
key: DATABASE_PASSWORD
{{ end }}
- name: DATABASE_URL
valueFrom:
configMapKeyRef:
Expand Down

0 comments on commit 06a7210

Please sign in to comment.