github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/batch/CronJob/testdata/healthy.yaml (about)

     1  apiVersion: batch/v1
     2  kind: CronJob
     3  metadata:
     4    annotations:
     5      argocd.argoproj.io/tracking-id: test-cronjob:batch/CronJob:test-cronjob/hello
     6    labels:
     7      app.kubernetes.io/instance: test-cronjob
     8    name: hello
     9    namespace: test-cronjob
    10  spec:
    11    jobTemplate:
    12      spec:
    13        template:
    14          spec:
    15            containers:
    16              - command:
    17                  - /bin/sh
    18                  - '-c'
    19                  - date; echo Hello from the Kubernetes cluster
    20                image: busybox:1.28
    21                imagePullPolicy: IfNotPresent
    22                name: hello
    23            restartPolicy: OnFailure
    24    schedule: '* * * * *'
    25  status:
    26    lastScheduleTime: '2025-07-30T13:42:00Z'
    27    lastSuccessfulTime: '2025-07-30T13:44:19Z'