From a1f3ec0db85601f48d45dee0dceec0eaecbf0476 Mon Sep 17 00:00:00 2001 From: Ishrath Ahamed <Ishrath.Ahamed@cloudsolutions.com.sa> Date: Wed, 21 May 2025 15:22:04 +0530 Subject: [PATCH] Remove obsolete post-sync.yaml and patch-pod.yaml files for various services --- UAT/ehr/csi-ehr-opd-java-sev/patch-pod.yaml | 16 --------- UAT/ehr/csi-ehr-opd-java-sev/post-sync.yaml | 34 ------------------- .../patch-pod.yaml | 16 --------- .../post-sync.yaml | 34 ------------------- .../patch-pod.yaml | 16 --------- .../post-sync.yaml | 34 ------------------- .../csi-ehr-or-book-java-sev/patch-pod.yaml | 16 --------- .../csi-ehr-or-book-java-sev/post-sync.yaml | 34 ------------------- .../patch-pod.yaml | 16 --------- .../post-sync.yaml | 34 ------------------- .../patch-pod.yaml | 16 --------- .../post-sync.yaml | 34 ------------------- .../csi-ehr-template-java-sev/patch-pod.yaml | 16 --------- .../csi-ehr-template-java-sev/post-sync.yaml | 34 ------------------- .../patch-pod.yaml | 16 --------- 15 files changed, 366 deletions(-) delete mode 100644 UAT/ehr/csi-ehr-opd-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-opd-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-ehr-or-anesthesia-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-or-anesthesia-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-ehr-or-book-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-or-book-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-ehr-or-booking-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-or-booking-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-ehr-specialized-clinic-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-specialized-clinic-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-ehr-template-java-sev/patch-pod.yaml delete mode 100644 UAT/ehr/csi-ehr-template-java-sev/post-sync.yaml delete mode 100644 UAT/ehr/csi-workflow-automation-service-java-sev/patch-pod.yaml diff --git a/UAT/ehr/csi-ehr-opd-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-opd-java-sev/patch-pod.yaml deleted file mode 100644 index 3783d01..0000000 --- a/UAT/ehr/csi-ehr-opd-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-ehr-opd - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-ehr-opd - resources: - limits: - memory: 2Gi - requests: - cpu: 50m - memory: 256Mi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-opd-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-opd-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-opd-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/patch-pod.yaml deleted file mode 100644 index 0227878..0000000 --- a/UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-opd-patient-pomr - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-opd-patient-pomr - resources: - limits: - memory: 2Gi - requests: - cpu: 150m - memory: 1Gi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-opd-patient-pomr-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-or-anesthesia-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-or-anesthesia-java-sev/patch-pod.yaml deleted file mode 100644 index 33b7808..0000000 --- a/UAT/ehr/csi-ehr-or-anesthesia-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-ehr-or-anesthesia - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-ehr-or-anesthesia - resources: - limits: - memory: 1Gi - requests: - cpu: 50m - memory: 256Mi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-or-anesthesia-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-or-anesthesia-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-or-anesthesia-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-or-book-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-or-book-java-sev/patch-pod.yaml deleted file mode 100644 index 2337bb9..0000000 --- a/UAT/ehr/csi-ehr-or-book-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-java-ehr-or-book - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-java-ehr-or-book - resources: - limits: - memory: 4Gi - requests: - cpu: 50m - memory: 1Gi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-or-book-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-or-book-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-or-book-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-or-booking-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-or-booking-java-sev/patch-pod.yaml deleted file mode 100644 index c68cbde..0000000 --- a/UAT/ehr/csi-ehr-or-booking-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-ehr-or-booking - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-ehr-or-booking - resources: - limits: - memory: 1Gi - requests: - cpu: 50m - memory: 256Mi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-or-booking-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-or-booking-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-or-booking-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-specialized-clinic-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-specialized-clinic-java-sev/patch-pod.yaml deleted file mode 100644 index 5130016..0000000 --- a/UAT/ehr/csi-ehr-specialized-clinic-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-ehr-specializedclinic - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-ehr-specializedclinic - resources: - limits: - memory: 1Gi - requests: - cpu: 50m - memory: 256Mi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-specialized-clinic-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-specialized-clinic-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-specialized-clinic-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-template-java-sev/patch-pod.yaml b/UAT/ehr/csi-ehr-template-java-sev/patch-pod.yaml deleted file mode 100644 index 0271b1e..0000000 --- a/UAT/ehr/csi-ehr-template-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-ehr-template - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-ehr-template - resources: - limits: - memory: 1Gi - requests: - cpu: 50m - memory: 256Mi \ No newline at end of file diff --git a/UAT/ehr/csi-ehr-template-java-sev/post-sync.yaml b/UAT/ehr/csi-ehr-template-java-sev/post-sync.yaml deleted file mode 100644 index 3873dfb..0000000 --- a/UAT/ehr/csi-ehr-template-java-sev/post-sync.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: post - namespace: moh-uat - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded - #argocd.argoproj.io/sync-options: Prune=false -spec: - template: - spec: - containers: - - name: postsync-pod - image: registry.cloudsolutions.com.sa/kube/curl - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - | - curl -X POST -L --user $username:$token --location 'https://10.200.222.150/view/09-Automation%20Builds/job/AUT-Build-Java21/buildWithParameters?token=ScheduledBuild&Project=aut&Service=Fred-api-autoday&Branch=main' -k - - resources: - limits: - cpu: 300m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - envFrom: - - secretRef: - name: automation-secret - restartPolicy: Never - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/UAT/ehr/csi-workflow-automation-service-java-sev/patch-pod.yaml b/UAT/ehr/csi-workflow-automation-service-java-sev/patch-pod.yaml deleted file mode 100644 index 74e6eb5..0000000 --- a/UAT/ehr/csi-workflow-automation-service-java-sev/patch-pod.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csi-workflow-automation - namespace: moh-prod -spec: - template: - spec: - containers: - - name: csi-workflow-automation - resources: - limits: - memory: 1Gi - requests: - cpu: 50m - memory: 256Mi \ No newline at end of file