jenkins: Add Argo CD pre-sync hook

Argo CD will delete and re-create this Job each time it synchronizes the
*jenkins* application.  The job creates a snapshot of the Jenkins volume
using an HTTP request to the Longhorn UI.
This commit is contained in:
2023-10-22 21:50:25 -05:00
parent cf7ec7dd64
commit 7797da19f9
2 changed files with 26 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ labels:
resources:
- jenkins.yaml
- argocd-sync-hook.yaml
configMapGenerator:
- name: ssh-known-hosts