Update kustomization.yaml for csi-empi-patient-registration-srv; change image registry and tag, add resource patching, and streamline configuration
parent
45d46636f9
commit
01c7a45d46
@ -1,22 +1,34 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- https://git.cloudsolutions.com.sa/BASE/CENTRAL-BASE-REPO/empi/empiwritedotnet
|
||||
|
||||
patchesStrategicMerge:
|
||||
- patch-hpa.yaml
|
||||
|
||||
namePrefix: old-
|
||||
namespace: csi-uat
|
||||
|
||||
images:
|
||||
- name: harbor.moh.gov.sa/vidamoh/csi-empi-patient-registration-srv
|
||||
newName: registry.cloudsolutions.com.sa/vida-qa/csi-empi-patient-registration-srv
|
||||
newTag: 4.2.64.0-b39_qa
|
||||
kind: Kustomization
|
||||
namePrefix: old-
|
||||
namespace: csi-uat
|
||||
|
||||
patchesJson6902:
|
||||
- patch: "- op: replace\n path: /spec/template/spec/containers/0/resources/limits/memory\n\
|
||||
\ value: 3Gi\n- op: replace\n path: /spec/template/spec/containers/0/resources/requests/cpu\n\
|
||||
\ value: 50m\n- op: replace\n path: /spec/template/spec/containers/0/resources/requests/memory\n\
|
||||
\ value: 750Mi"
|
||||
target:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: csi-net-empiwrit
|
||||
version: v1
|
||||
patchesStrategicMerge:
|
||||
- patch-hpa.yaml
|
||||
resources:
|
||||
- https://git.cloudsolutions.com.sa/BASE/CENTRAL-BASE-REPO/empi/empiwritedotnet
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources/limits/memory
|
||||
value: 3Gi
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources/requests/cpu
|
||||
value: 50m
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources/requests/memory
|
||||
value: 750Mi
|
||||
|
||||
|
Loading…
Reference in new issue