github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/batch/CronJob/testdata/suspended.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    suspend: true
    12    jobTemplate:
    13      spec:
    14        template:
    15          spec:
    16            containers:
    17              - command:
    18                  - /bin/sh
    19                  - '-c'
    20                  - date; echo Hello from the Kubernetes cluster
    21                image: busybox:1.28
    22                imagePullPolicy: IfNotPresent
    23                name: hello
    24            restartPolicy: OnFailure
    25    schedule: '* * * * *'
    26  status:
    27    active:
    28      - apiVersion: batch/v1
    29        kind: Job
    30        name: hello-29231490
    31        namespace: test-cronjob
    32        resourceVersion: '21226'
    33        uid: 996e6ed6-8494-4c9a-9862-93de4af310cb
    34    lastScheduleTime: '2025-07-30T13:46:00Z'
    35    lastSuccessfulTime: '2025-07-30T13:44:19Z'