Skip to content

Commit

Permalink
database params
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronClaydon committed Jun 4, 2024
1 parent 4d01479 commit ce5a97d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deploy/travigo-assistant/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: TRAVIGO_MONGODB_CONNECTION
valueFrom:
secretKeyRef:
name: {{ $.Values.database.connectionStringSecret }}
key: connectionString.standard
optional: false
- name: TRAVIGO_MONGODB_DATABASE
value: {{ $.Values.database.database }}
- name: TRAVIGO_TWILIO_ACCOUNT_SID
valueFrom:
secretKeyRef:
Expand Down
4 changes: 4 additions & 0 deletions deploy/travigo-assistant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

replicaCount: 1

database:
connectionStringSecret: travigo-mongodb-admin-travigo
database: travigo

twilio:
credentialsSecret: travigo-assistant-twilio

Expand Down

0 comments on commit ce5a97d

Please sign in to comment.