You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://git.cloudsolutions.com.sa/BASE/CENTRAL-BASE-REPO/empi/csi-empi-api
patches:
- hpa.yaml
images:
- name: registry.cloudsolutions.com.sa/vida-qa/csi-empi-api
newTag: 4.2501.0.3_qa #4.2502.1.1_D8_dev #4.2502.1.1_D7_dev #4.2502.1.1_D6_dev #4.2502.1.1_D3_dev #4.2502.1.1_D2_dev #4.2501.1.1_D1_dev
namespace: csi-uat
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: csi-empi-api
patch: |-
- op: add
path: /spec/template/spec/containers/0/ports/-
value:
name: management
containerPort: 9000
- op: replace
path: /spec/template/spec/containers/0/livenessProbe
value:
httpGet:
path: /actuator/health/liveness
port: management
initialDelaySeconds: 600
failureThreshold: 3
timeoutSeconds: 10
- op: replace
path: /spec/template/spec/containers/0/readinessProbe
value:
httpGet:
path: /actuator/health/readiness
port: management
initialDelaySeconds: 100
failureThreshold: 30
timeoutSeconds: 100