From 841ddca2be87a11538e6ee23f6a6e48a5b0444e0 Mon Sep 17 00:00:00 2001 From: Ishrath Ahamed Date: Fri, 4 Jul 2025 10:53:44 +0530 Subject: [PATCH] Refactor kustomization.yaml to streamline image configuration and update CSI_PROJECT_NAME environment variable --- UAT/ehr/csi-ehr-ic-ui/kustomization.yaml | 25 ++++++++++++------------ 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/UAT/ehr/csi-ehr-ic-ui/kustomization.yaml b/UAT/ehr/csi-ehr-ic-ui/kustomization.yaml index 652687d..087a202 100644 --- a/UAT/ehr/csi-ehr-ic-ui/kustomization.yaml +++ b/UAT/ehr/csi-ehr-ic-ui/kustomization.yaml @@ -12,22 +12,11 @@ replicas: images: - name: harbor.moh.gov.sa/vidamoh/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 -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: group: batch version: v1 @@ -37,6 +26,11 @@ patchesJson6902: - op: replace path: /metadata/name 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: group: batch @@ -47,3 +41,8 @@ patchesJson6902: - op: replace path: /metadata/name value: after-csi-ehr-ic-ui + - op: add + path: /spec/template/spec/containers/0/env/- + value: + name: CSI_PROJECT_NAME + value: "ehr-ic-ui"