github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/batch/CronJob/actions/testdata/cronjob-resumed.yaml (about) 1 apiVersion: batch/v1 2 kind: CronJob 3 metadata: 4 name: hello 5 namespace: test-ns 6 uid: '123' 7 spec: 8 suspend: false 9 schedule: '* * * * *' 10 jobTemplate: 11 metadata: 12 labels: 13 my: label 14 annotations: 15 my: annotation 16 spec: 17 ttlSecondsAfterFinished: 100 18 template: 19 metadata: 20 labels: 21 pod: label 22 annotations: 23 pod: annotation 24 spec: 25 containers: 26 - name: hello 27 image: busybox:1.28 28 imagePullPolicy: IfNotPresent 29 command: 30 - /bin/sh 31 - -c 32 - date; echo Hello from the Kubernetes cluster 33 resources: {} 34 restartPolicy: OnFailure