Remove obsolete HPA and kustomization files for csi-ehr-ic-ui; add new kustomization.yaml for ehr-ic-ui with updated image and environment variable configurations

main
Ishrath Ahamed 2 months ago
parent 841ddca2be
commit 1773ea47ba

@ -1,8 +0,0 @@
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: csi-ehr-ic-ui
namespace: moh-prod
spec:
minReplicaCount: 1
maxReplicaCount: 1

@ -1,48 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://git.cloudsolutions.com.sa/Ishrath.Ahamed/CENTRAL-BASE-REPO/ehr/ehricui
- ../../../DM-Initiator/
replicas:
- name: csi-ehr-ic-ui
count: 1
images:
- name: harbor.moh.gov.sa/vidamoh/ehr-ic-ui
newName: registry.cloudsolutions.com.sa/vida-qa/ehr-ic-ui
newTag: 4.0.245.9_b2
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-ehr-ic-ui"
- target:
group: batch
version: v1
kind: Job
name: sync-presync
patch: |-
- op: replace
path: /metadata/name
value: before-csi-ehr-ic-ui
- target:
group: batch
version: v1
kind: Job
name: sync-postsync
patch: |-
- op: replace
path: /metadata/name
value: after-csi-ehr-ic-ui

@ -1,8 +0,0 @@
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: csi-ehr-ic-ui
namespace: moh-prod
spec:
minReplicaCount: 1
maxReplicaCount: 1

@ -4,7 +4,6 @@ resources:
- https://git.cloudsolutions.com.sa/Ishrath.Ahamed/CENTRAL-BASE-REPO/ehr/ehricui
- ../../../DM-Initiator/
replicas:
- name: csi-ehr-ic-ui
count: 1
Loading…
Cancel
Save