1
0
Fork 0

jenkins: Remove Argo CD sync hook

Since Jenkins no longer uses a Longhorn volume, this sync hook is not
useful.
etcd
Dustin 2024-07-04 06:53:58 -05:00
parent 248a9a5ae9
commit fa80b15a71
2 changed files with 0 additions and 26 deletions

View File

@ -1,25 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: jenkins-snapshot-hook
namespace: jenkins
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
spec:
template:
metadata:
labels:
app.kubernetes.io/name: jenkins-snapshot-hook
spec:
containers:
- name: jenkins-snapshot
image: docker.io/curlimages/curl
command:
- curl
- http://longhorn-frontend.longhorn-system/v1/volumes/pvc-4d42f4d3-2f9d-4edd-b82c-b51a385a3276?action=snapshotCreate
- -H
- 'Content-Type: application/json'
- -d
- '{}'
restartPolicy: Never

View File

@ -7,7 +7,6 @@ labels:
resources:
- jenkins.yaml
- argocd-sync-hook.yaml
- secrets.yaml
- iscsi.yaml