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.
80 lines
1.8 KiB
80 lines
1.8 KiB
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- https://git.cloudsolutions.com.sa/BASE/CENTRAL-BASE-REPO/rms/rmsresourceregistry
|
|
- ../../../DM-Initiator/
|
|
|
|
patchesStrategicMerge:
|
|
- hpa.yaml
|
|
|
|
images:
|
|
- name: harbor.moh.gov.sa/vidamoh/csi-rms-resource-registry-java-sev
|
|
newName: registry.cloudsolutions.com.sa/vida-qa/csi-rms-resource-registry-java-sev
|
|
newTag: V4.0.0425_Int-988_dev
|
|
|
|
namespace: csi-uat
|
|
|
|
|
|
patchesJson6902:
|
|
- 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-rms-resource-registry-java-sev"
|
|
|
|
- target:
|
|
group: batch
|
|
version: v1
|
|
kind: Job
|
|
name: sync-presync
|
|
patch: |
|
|
- op: replace
|
|
path: /metadata/name
|
|
value: before-csi-rms-resource-registry-java-sev
|
|
|
|
- target:
|
|
group: batch
|
|
version: v1
|
|
kind: Job
|
|
name: sync-postsync
|
|
patch: |-
|
|
- op: replace
|
|
path: /metadata/name
|
|
value: after-csi-rms-resource-registry-java-sev
|
|
|
|
- target:
|
|
group: apps
|
|
version: v1
|
|
kind: Deployment
|
|
name: csi-rms-resource-registry
|
|
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: 10
|
|
failureThreshold: 3
|
|
timeoutSeconds: 10
|