apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: twitterbot-wotd-cron-job
  namespace: default
spec:
  schedule: "*/20 * * * *" 
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        metadata:
          labels:
            run: website
        spec:
          containers:
          - image: gcr.io/this-word-does-not-exist/twitter-bot-wotd:v7
            imagePullPolicy: IfNotPresent
            name: website
          restartPolicy: OnFailure
