Skip to content

Why Kubernetes Resources decribed by manifest are created by a new argoexec pod using kubectl? Why not excute kubectl in workflow-controller pod? #4712

Closed Answered by jessesuen
yostao asked this question in Q&A
Discussion options

You must be logged in to vote

Why Kubernetes Resources decribed by manifest are created by a new argoexec pod using kubectl? Why not excute kubectl in workflow-controller pod?

It was designed this way because of the current security model. If the workflow controller were to handle resource CRUD operations, then the workflow controller would need to be given god privileges in order to create/delete/update any kubernetes resource, which makes the controller an extremely high value target for attack.

Instead, we felt the ability to manage other resources should be done with the permissions of service accounts in the namespace. Which puts the onus on the user to front the credentials necessary to perform resource mutati…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by yostao
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants