argo-workflows controller fails to process jobs if ClusterWorkflowTemplate CRD is not present #3038
Labels
argo-workflows
awaiting-upstream
Is waiting for a change upstream to be completed before it can be merged.
bug
Something isn't working
Describe the bug
If you set
clusterWorkflowTemplates.enabled=false
, the corresponding CRD will not get installedThe issue is, the argo-workflows controller will still try to look for that CRD on startup, which leads to a controller failure with a confusingly-terse error message:
To make matters worse, the controller does not gracefully progress beyond this error. It will continue to attempt to fetch ClusterWorkflowTemplate CRD objects instead of moving on to process workflows. This leaves all workflows stuck in a
pending
state.To get around this, you can set
clusterWorkflowTemplates.enabled=true
and apply the chart, which will create the corresponding CRD. You can then revert that change and the controller will function as expected.Related helm chart
argo-workflows
Helm chart version
0.42.7
To Reproduce
On a new install:
controller.clusterWorkflowTemplates.enabled=false
andcrds.install=true
Expected behavior
I would expect that the controller would be able to function without the ClusterWorkflowTemplate CRD if
clusterWorkflowTemplates.enabled=false
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: