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.
17 lines
338 B
17 lines
338 B
6 years ago
|
apiVersion: batch/v1
|
||
|
kind: Job
|
||
|
metadata:
|
||
6 years ago
|
name: before
|
||
6 years ago
|
annotations:
|
||
|
argocd.argoproj.io/hook: PreSync
|
||
6 years ago
|
argocd.argoproj.io/hook-delete-policy: HookSucceeded
|
||
6 years ago
|
spec:
|
||
|
template:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: sleep
|
||
|
image: alpine:latest
|
||
6 years ago
|
command: ["sleep", "10"]
|
||
6 years ago
|
restartPolicy: Never
|
||
6 years ago
|
backoffLimit: 0
|