Skip to content

Commit d9c8ccf

Browse files
Sudha-KannaiahSudhaKannaiah
andauthored
Central instance migration changes for works (#4063)
* central instance migration changes * central instance migration changes --------- Co-authored-by: SudhaKannaiah <[email protected]>
1 parent ab10cc8 commit d9c8ccf

File tree

137 files changed

+1104
-957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+1104
-957
lines changed

deploy-as-code/helm/charts/core-services/gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ initContainers:
2121
- name: "INTERNAL_GATEWAY_NAMESPACE"
2222
value: "egov"
2323
- name: "INTERNAL_ROUTER_MAP"
24-
value: "inbox:internal-gateway-scg,egov-searcher:internal-gateway-scg,echallan-calculator:internal-gateway-scg,pt-calculator-v2:internal-gateway-scg,filestore:internal-gateway-scg,pdf-service:internal-gateway-scg,report:internal-gateway-scg,firenoc-calculator:internal-gateway-scg,sw-calculator:internal-gateway-scg,ws-calculator:internal-gateway-scg,dashboard-analytics:internal-gateway-scg,pg-service:internal-gateway-scg,tl-calculator:internal-gateway-scg,pt-calculator-v2:internal-gateway-scg,edcr:internal-gateway-scg,property-services:internal-gateway-scg,egov-mdms-service:internal-gateway-scg"
24+
value: "inbox:internal-gateway-scg,egov-searcher:internal-gateway-scg,echallan-calculator:internal-gateway-scg,pt-calculator-v2:internal-gateway-scg,filestore:internal-gateway-scg,pdf-service:internal-gateway-scg,report:internal-gateway-scg,firenoc-calculator:internal-gateway-scg,sw-calculator:internal-gateway-scg,ws-calculator:internal-gateway-scg,dashboard-analytics:internal-gateway-scg,pg-service:internal-gateway-scg,tl-calculator:internal-gateway-scg,pt-calculator-v2:internal-gateway-scg,edcr:internal-gateway-scg,property-services:internal-gateway-scg,egov-mdms-service:internal-gateway-scg,attendance:internal-gateway-scg,bankaccounts:internal-gateway-scg,contracts:internal-gateway-scg,egov-bff-service:internal-gateway-scg,estimates:internal-gateway-scg,expense:internal-gateway-scg,expense-calculator:internal-gateway-scg,ifms-adapter:internal-gateway-scg,loi-service:internal-gateway-scg,measurement-registry:internal-gateway-scg,measurement-service:internal-gateway-scg,muster-roll:internal-gateway-scg,organisation:internal-gateway-scg,project-management-system:internal-gateway-scg,works-inbox-service:internal-gateway-scg,works-management-service:internal-gateway-scg"
2525
volumeMounts:
2626
- name: zuul-routes
2727
mountPath: /etc/zuul

deploy-as-code/helm/charts/digit-works/backend/attendance/values.yaml renamed to deploy-as-code/helm/charts/works/backend/attendance/values.yaml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Common Labels
22
labels:
33
app: "attendance"
4-
group: "digit-works"
4+
group: "works"
55

6-
namespace: works
6+
namespace: staging
77

88
# Ingress Configs
99
ingress:
@@ -19,6 +19,46 @@ initContainers:
1919
schemaTable: "attendance_schema"
2020
image:
2121
repository: "attendance-db"
22+
env: |
23+
{{- if index .Values "attendance-ismultischema-enabled" }}
24+
- name: SCHEMA_NAME
25+
value: {{ index .Values "attendance-schemas" | quote }}
26+
{{- end }}
27+
- name: "DB_URL"
28+
valueFrom:
29+
configMapKeyRef:
30+
name: egov-config
31+
key: db-url
32+
- name: "SCHEMA_TABLE"
33+
value: {{ .Values.initContainers.dbMigration.schemaTable | quote }}
34+
- name: "FLYWAY_USER"
35+
valueFrom:
36+
secretKeyRef:
37+
name: db
38+
key: flyway-username
39+
- name: "FLYWAY_PASSWORD"
40+
valueFrom:
41+
secretKeyRef:
42+
name: db
43+
key: flyway-password
44+
- name: "FLYWAY_LOCATIONS"
45+
valueFrom:
46+
configMapKeyRef:
47+
name: egov-config
48+
key: flyway-locations
49+
{{- if index .Values.global "is-environment-central-instance" }}
50+
- name: IS_ENVIRONMENT_CENTRAL_INSTANCE
51+
valueFrom:
52+
configMapKeyRef:
53+
name: egov-config
54+
key: is-environment-central-instance
55+
- name: STATE_LEVEL_TENANTID_LENGTH
56+
valueFrom:
57+
configMapKeyRef:
58+
name: egov-config
59+
key: state-level-tenantid-length
60+
{{- end }}
61+
2262
2363
# Container Configs
2464
image:

0 commit comments

Comments
 (0)