argo service account has no permission to create configmap #14073
Labels
area/controller
Controller issues, panics
type/bug
type/regression
Regression from previous behavior (a specific type of bug)
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened? What did you expect to happen?
in our case, we encountered error when creating a workflow contains a large size of raw data input artifacts
the error message is shown as following:
based on the argo codebase,
when creating a pod, the workflow-controller checks the length of each template’s environment variables.
Ref: workflowpod.go#L424
If it exceeds the maxEnvVarLen (131072), the environment variables are passed to the pod via a ConfigMap instead.
Ref: workflowpod.go#L431
However, it seems that the service account used by the workflow-controller, ‘argo,’ doesn’t have permission to create ConfigMaps.
Ref: workflow-controller-rbac/workflow-controller-role.yaml#L30
Can anyone help with this issue?
Version(s)
v3.6.2
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflow that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: