argo-events service account additional namespaces #1834
-
Hi, In an older helm chart (before v1.7) there was the possibility to add additional namespaces to the service account. The whole file got a huge overhaul in this commit, and I'm wondering where I can set this value now. Underneath rbac, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what do you mean "by your deploymens" or |
Beta Was this translation helpful? Give feedback.
-
Ok now I see :). The serviceAccountName under |
Beta Was this translation helpful? Give feedback.
Ok now I see :). The serviceAccountName under
template
is used by your custom Sensor pod to grant it RBAC to manipulate the trigger resource. You should create your own service account and grant it proper RBAC permissions if needed instead of reusing service account of argo-events controller (really not a good security practice as Sensor pod suddenly gets all extra permissions controller had including modification of other Sensor resources or EventBuses). This security hole was closed in 2.x. For your use case - create a new SA for the Sensor and grant it proper RBAC access toapiGroup: argoproj.io/v1alpha1
and resourceWorkflow
it manipulates (in 1.x chart this extra RBAC was defined under…