You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
338 B
16 lines
338 B
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
|
|
|