title: Unsupported value: "Always": supported values: "OnFailure", "Never"
body: <p>I am trying to set up a Cron Job in OpenShift but it fails with the following message:</p>
  
  <blockquote>
    <p>2020-02-27T14:01:18.7412341Z * spec.jobTemplate.spec.template.spec.containers: Required value
    2020-02-27T14:01:18.7412503Z * spec.jobTemplate.spec.template.spec.restartPolicy: Unsupported value: "Always": supported values: "OnFailure", "Never"</p>
  </blockquote>
  
  <p>and my CronJob-file goes as this:</p>
  
  <pre><code>apiVersion: batch/v1beta1
  kind: CronJob
  metadata:
    name: my-cjob
    labels:
      job-name: my-cjob
  spec:
    schedule: "*/5 * * * *" 
    jobTemplate:
      spec:
        template:         
          metadata:
            name: my-cjob
            labels:
            job-name: my-cjob
          spec:
            containers:
            - name: my-cjob
              image: my-image-name
            restartPolicy: OnFailure
  </code></pre>
  
  <p>What am I doing wrong? I have taken great inspiration from OpenShift:</p>
  
  <p><a href="https://i.stack.imgur.com/VwCN5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VwCN5.png" alt="snippet from OpenShifts own site"></a></p>
  
  <p>found here: <a href="https://access.redhat.com/documentation/en-us/openshift_container_platform/3.11/html/developer_guide/dev-guide-cron-jobs" rel="nofollow noreferrer">https://access.redhat.com/documentation/en-us/openshift_container_platform/3.11/html/developer_guide/dev-guide-cron-jobs</a></p>
  
  <p>What am I not seeing?</p>