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
|
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:
|
images:
|
||||||
- name: harbor.moh.gov.sa/vidamoh/csi-empi-patient-registration-srv
|
- name: harbor.moh.gov.sa/vidamoh/csi-empi-patient-registration-srv
|
||||||
newName: registry.cloudsolutions.com.sa/vida-qa/csi-empi-patient-registration-srv
|
newName: registry.cloudsolutions.com.sa/vida-qa/csi-empi-patient-registration-srv
|
||||||
newTag: 4.2.64.0-b39_qa
|
newTag: 4.2.64.0-b39_qa
|
||||||
kind: Kustomization
|
|
||||||
namePrefix: old-
|
|
||||||
namespace: csi-uat
|
|
||||||
patchesJson6902:
|
patchesJson6902:
|
||||||
- patch: "- op: replace\n path: /spec/template/spec/containers/0/resources/limits/memory\n\
|
- target:
|
||||||
\ 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:
|
|
||||||
group: apps
|
group: apps
|
||||||
|
version: v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: csi-net-empiwrit
|
name: csi-net-empiwrit
|
||||||
version: v1
|
patch: |
|
||||||
patchesStrategicMerge:
|
- op: replace
|
||||||
- patch-hpa.yaml
|
path: /spec/template/spec/containers/0/resources/limits/memory
|
||||||
resources:
|
value: 3Gi
|
||||||
- https://git.cloudsolutions.com.sa/BASE/CENTRAL-BASE-REPO/empi/empiwritedotnet
|
- 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