mirror of
https://github.com/argoproj/argocd-example-apps.git
synced 2024-10-31 07:29:34 +01:00
17 lines
338 B
YAML
17 lines
338 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: before
|
|
annotations:
|
|
argocd.argoproj.io/hook: PreSync
|
|
argocd.argoproj.io/hook-delete-policy: HookSucceeded
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: sleep
|
|
image: alpine:latest
|
|
command: ["sleep", "10"]
|
|
restartPolicy: Never
|
|
backoffLimit: 0
|