github.com/argoproj/argo-cd/v2@v2.10.5/test/e2e/testdata/resource-actions/cron-job.yaml (about)

     1  apiVersion: batch/v1
     2  kind: CronJob
     3  metadata:
     4    name: hello
     5  spec:
     6    schedule: "* * * * *"
     7    jobTemplate:
     8      spec:
     9        template:
    10          spec:
    11            containers:
    12            - name: hello
    13              image: busybox:1.28
    14              imagePullPolicy: IfNotPresent
    15              command:
    16              - /bin/sh
    17              - -c
    18              - date; echo Hello from the Kubernetes cluster
    19            restartPolicy: OnFailure