Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14896

[enterprise-4.13] Issue in file openshift_images/triggering-updates-on-imagestream-changes.adoc

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      • Jobs and CronJobs cannot be used with the "image.openshift.io/triggers" annotation
      • The documentation says it is possible but it appears it is not possible anymore since ~ OpenShift 4.10 

      How reproducible:

      always

      Steps to Reproduce:

      oc set triggers cronjob/my-cronjob --from-image=my-is:latest -c my-container

      OR

      oc set triggers job/my-job --from-image=my-is:latest -c my-container

      Actual results:

      error: cronjobs/test-cronjob does not support triggers
      error: jobs/test-job does not support triggers

      Expected results:

      cronjob.batch/my-cronjob updated
      job.batch/my-job updated

      Additional info:

       

              ocp-docs-bot OCP DocsBot
              rhn-support-nmasse Nicolas Masse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: