-
Bug
-
Resolution: Done
-
Major
-
1.10.2, 1.10.1, 1.10.0, 1.9.3
-
None
-
5
-
False
-
None
-
False
-
With the fix in this issue, users can now go to Argo CD UI and create job executions from cron job defined in a deployed Argo CD application.
-
-
-
GITOPS Sprint 3252, GITOPS Sprint 3253
Description of problem:
New feature added with ArgoCD v2.8 Create a Job from a CronJob is failing with below error:
Unable to execute resource action: jobs.batch is forbidden: User "system:serviceaccount:openshift-gitops:openshift-gitops-argocd-server" cannot create resource "jobs" in API group "batch" in the namespace "openshift-gitops"
In the error the SA is of `argocd-server` which has no create permissions.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Use GitOps v1.9.3+
- Create a Application with a CronJob
- On Application page look for the CronJob name Tile, click on options button of the tile, and then click on Create Job
Actual results:
- Creates Job Successfully.
Reproducibility (Always/Intermittent/Only Once): Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
Screenshot attached.
*
- links to
-
RHSA-2024:127897 Errata Advisory for Red Hat OpenShift GitOps v1.12.0