-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.13, 4.11, 4.10
-
No
-
False
-
-
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:
- See this Stackoverflow issue
- It seems the issue is there since ~ OpenShift 4.10