Skip to content

argo-events service account additional namespaces #1834

Answered by pdrastil
rconjaerts asked this question in Q&A
Discussion options

You must be logged in to vote

Ok now I see :). The serviceAccountName undertemplate 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 to apiGroup: argoproj.io/v1alpha1 and resource Workflow it manipulates (in 1.x chart this extra RBAC was defined under

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rconjaerts
Comment options

Comment options

You must be logged in to vote
1 reply
@rconjaerts
Comment options

Comment options

You must be logged in to vote
1 reply
@rconjaerts
Comment options

Answer selected by rconjaerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants