github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/batch/CronJob/actions/testdata/job.yaml (about) 1 - k8sOperation: create 2 unstructuredObj: 3 apiVersion: batch/v1 4 kind: Job 5 metadata: 6 name: hello-00000000000 7 namespace: test-ns 8 labels: 9 my: label 10 annotations: 11 cronjob.kubernetes.io/instantiate: manual 12 my: annotation 13 spec: 14 ttlSecondsAfterFinished: 100 15 template: 16 metadata: 17 labels: 18 pod: label 19 annotations: 20 pod: annotation 21 spec: 22 containers: 23 - name: hello 24 image: busybox:1.28 25 imagePullPolicy: IfNotPresent 26 command: 27 - /bin/sh 28 - -c 29 - date; echo Hello from the Kubernetes cluster 30 restartPolicy: OnFailure