apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: test-cron-job
spec:
  schedule: "*/1 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - image: gcr.io/cbd-test/test-app:latest
            name: test-app
          restartPolicy: OnFailure
