Remove obsolete post-sync.yaml files from various services and update kustomization.yaml to clean up resources
parent
a1f3ec0db8
commit
0599913bc4
@ -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=empi-wrapper-api-automation&Branch=main' -k
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 300m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: automation-secret
|
||||
restartPolicy: Never
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
@ -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=Gryffindor-api-autoday_lab&Branch=main' -k
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 300m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: automation-secret
|
||||
restartPolicy: Never
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
@ -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=Gryffindor-api-autoday_lab&Branch=main' -k
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 300m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: automation-secret
|
||||
restartPolicy: Never
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
@ -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=Gryffindor-api-autoday_lab&Branch=main' -k
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 300m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: automation-secret
|
||||
restartPolicy: Never
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
@ -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=shaggy-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
|
@ -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=shaggy-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
|
@ -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=shaggy-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
|
@ -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=shaggy-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
|
@ -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=shaggy-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
|
Loading…
Reference in new issue