Possible Bug in workflow cluster role missing permissions #2824
Labels
argo-workflows
awaiting-upstream
Is waiting for a change upstream to be completed before it can be merged.
bug
Describe the bug
Hi,
I have a problem with Argo workflows HTTP Template. When I run a workflow with using this template, the workflow lasts for 30 seconds or many minutes until it is finished. I researched the behavior and found an error message in the workflow-controller pod:
I've installed Argo workflows with the latest Helm-Chart. When I take a look into the file "charts/argo-workflows/templates/controller/workflow-controller-cluster-roles.yaml" I see that the permissions to patch the workflowtasksets is missing. In the namespaced role file "charts/argo-workflows/templates/controller/workflow-role.yaml" the permission is given
argo-helm/charts/argo-workflows/templates/controller/workflow-role.yaml
Lines 50 to 56 in 2653aef
I think that the following permissions should be granted in the ClusterRole too:
I can resolve this issue for myself and send you a pull-request.
Related helm chart
argo-workflows
Helm chart version
0.41.11
To Reproduce
Expected behavior
The Workflow with HTTP Template JOB should finish in a few seconds without error messages in the workflow-controller logs.
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: