Refactor kustomization.yaml to streamline image configuration and update CSI_PROJECT_NAME environment variable

main
Ishrath Ahamed 2 weeks ago
parent 4abb98db26
commit 841ddca2be

@ -12,22 +12,11 @@ replicas:
images: images:
- name: harbor.moh.gov.sa/vidamoh/ehr-ic-ui - name: harbor.moh.gov.sa/vidamoh/ehr-ic-ui
newName: registry.cloudsolutions.com.sa/vida-uat/ehr-ic-ui newName: registry.cloudsolutions.com.sa/vida-uat/ehr-ic-ui
newTag: V4.0.2507_W1-1614_hf #4.0.245.8_IR_qa newTag: V4.0.2507_W1-1614_hf
namespace: csi-uat namespace: csi-uat
patchesJson6902:
- target:
group: batch
version: v1
kind: Job
name: .*
patch: |-
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: CSI_PROJECT_NAME
value: "csi-csi-ehr-ic-ui"
patchesJson6902:
- target: - target:
group: batch group: batch
version: v1 version: v1
@ -37,6 +26,11 @@ patchesJson6902:
- op: replace - op: replace
path: /metadata/name path: /metadata/name
value: before-csi-ehr-ic-ui value: before-csi-ehr-ic-ui
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: CSI_PROJECT_NAME
value: "ehr-ic-ui"
- target: - target:
group: batch group: batch
@ -47,3 +41,8 @@ patchesJson6902:
- op: replace - op: replace
path: /metadata/name path: /metadata/name
value: after-csi-ehr-ic-ui value: after-csi-ehr-ic-ui
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: CSI_PROJECT_NAME
value: "ehr-ic-ui"

Loading…
Cancel
Save