Skip to content

Commit

Permalink
updated common values.yaml (#2259)
Browse files Browse the repository at this point in the history
Co-authored-by: Harish-egov <harish,s@egovernmetns.org>
  • Loading branch information
Harish-egov and Harish-egov authored Jan 2, 2024
1 parent bdfe0ec commit 6b934a8
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions deploy-as-code/helm/charts/common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,22 @@ initContainers:
tag: latest
env: |
- name: "DB_URL"
valueFrom:
configMapKeyRef:
{{- if eq .Values.namespace "health" }}
valueFrom:
configMapKeyRef:
name: egov-config
key: health-db-url
{{- else }}
valueFrom:
configMapKeyRef:
name: egov-config
key: db-url
{{- end }}
- name: "SCHEMA_TABLE"
value: {{ .Values.initContainers.dbMigration.schemaTable | quote }}
value: {{ .Values.initContainers.dbMigration.schemaTable | quote }}
- name: "FLYWAY_USER"
valueFrom:
secretKeyRef:
valueFrom:
secretKeyRef:
name: db
key: flyway-username
- name: "FLYWAY_PASSWORD"
Expand Down

0 comments on commit 6b934a8

Please sign in to comment.