apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization bases: - https://git.cloudsolutions.com.sa/BASE/CENTRAL-BASE-REPO/billing/billingmasterui resources: # - ../../../DM-Sync/ - ../../../Sync-new/ #patchesStrategicMerge: #- hpa.yaml replicas: - name: csi-billing-ui count: 2 images: # - name: harbor.moh.gov.sa/vidamoh/csi-database-initiator # newName: registry.cloudsolutions.com.sa/vida-qa/csi-database-initiator # newTag: V1.0.0.178 #V1.0.0.150 #V1.0.0.66 #V1.0.0.58 #Dont change this value# - name: harbor.moh.gov.sa/vidamoh/billing-ui newName: registry.cloudsolutions.com.sa/vida-qa/billing-ui newTag: 4.7.103.0_qa # Deployed this QA tag due to build issue in 4.2503_1_D8_dev #4.2503_1_D7_dev #4.2503_1_D6_dev namespace: csi-dev patchesJson6902: - target: group: batch version: v1 kind: Job name: .* patch: |- - op: replace path: /metadata/name value: before-csi-bm-billing-ui namespace: moh-uat - op: add path: /spec/template/spec/containers/0/env/- value: name: CSI_MODULENAME value: "csi-bm-billing-ui" - op: add path: /spec/template/spec/containers/0/env/- value: name: CSI_PROJECT_NAME value: "csi-bm-billing-ui" - op: add path: /spec/template/spec/containers/0/env/- value: name: CSI_MODULE_NAME value: "csi-bm-billing-ui" - op: add path: /spec/template/spec/containers/0/env/- value: name: CSI_PARENT_MODULE_NAME value: "billing" # - 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-bm-billing-ui" # - target: # group: batch # version: v1 # kind: Job # name: sync-presync # patch: |- # - op: replace # path: /metadata/name # value: before-csi-bm-billing-ui # - target: # group: batch # version: v1 # kind: Job # name: sync-postsync # patch: |- # - op: replace # path: /metadata/name # value: after-csi-bm-billing-ui