# argocd_source_cronjob-resumed.yaml
apiVersion: batch/v1
kind: CronJob
metadata:
  name: hello
  namespace: test-ns
  uid: '123'
spec:
  suspend: false
  schedule: '* * * * *'
  jobTemplate:
    metadata:
      labels:
        my: label
      annotations:
        my: annotation
    spec:
      ttlSecondsAfterFinished: 100
      template:
        metadata:
          labels:
            pod: label
          annotations:
            pod: annotation
        spec:
          containers:
            - name: hello
              image: busybox:1.28
              imagePullPolicy: IfNotPresent
              command:
                - /bin/sh
                - -c
                - date; echo Hello from the Kubernetes cluster
              resources: {}
          restartPolicy: OnFailure