Skip to content

Commit

Permalink
updated common values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Harish-egov committed Jan 2, 2024
1 parent 0126cd9 commit bdfe0ec
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions deploy-as-code/helm/charts/common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,17 @@ initContainers:
tag: latest
env: |
- name: "DB_URL"
{{- if eq .Values.namespace "health" }}
valueFrom:
configMapKeyRef:
name: egov-config
key: health-db-url
{{- else }}
valueFrom:
configMapKeyRef:
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:
name: db
key: flyway-username
- name: "FLYWAY_PASSWORD"
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit bdfe0ec

Please sign in to comment.