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.
77 lines
1.7 KiB
77 lines
1.7 KiB
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- https://git.cloudsolutions.com.sa/Ishrath.Ahamed/CENTRAL-BASE-REPO/empi/csi-empi-api
|
|
- ../../../DM-Initiator
|
|
|
|
patchesStrategicMerge:
|
|
- hpa.yaml
|
|
|
|
images:
|
|
- name: registry.cloudsolutions.com.sa/vida-qa/csi-empi-api
|
|
newTag: V4.0.0425_W2-986_qa
|
|
|
|
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
|
|
|
|
- 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-empi-api"
|
|
|
|
- target:
|
|
group: batch
|
|
version: v1
|
|
kind: Job
|
|
name: sync-presync
|
|
patch: |
|
|
- op: replace
|
|
path: /metadata/name
|
|
value: before-csi-empi-api
|
|
|
|
- target:
|
|
group: batch
|
|
version: v1
|
|
kind: Job
|
|
name: sync-postsync
|
|
patch: |-
|
|
- op: replace
|
|
path: /metadata/name
|
|
value: after-csi-empi-api |