github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/24/pass/24-pass.yaml (about) 1 apiVersion: batch/v1 2 kind: CronJob 3 metadata: 4 name: hello 5 spec: 6 schedule: "* * * * *" 7 concurrencyPolicy: Replace 8 jobTemplate: 9 spec: 10 template: 11 spec: 12 containers: 13 - name: hello 14 image: busybox 15 imagePullPolicy: IfNotPresent 16 command: 17 - /bin/sh 18 - -c 19 - date; echo Hello from the Kubernetes cluster 20 restartPolicy: OnFailure