argo-cd/test/e2e/testdata/hook-and-deployment/hook.yaml

16 lines
312 B
YAML
Raw Normal View History

apiVersion: batch/v1
kind: Job
metadata:
name: my-hook
annotations:
argocd.argoproj.io/hook: Sync
spec:
template:
spec:
containers:
- command:
- "true"
2019-10-11 18:48:57 +00:00
image: "alpine:3.10.2"
imagePullPolicy: IfNotPresent
name: main
restartPolicy: Never