fix: add missing ClusterRole permissions to argo-cd-server#11210
fix: add missing ClusterRole permissions to argo-cd-server#11210EladDolev wants to merge 2 commits intoargoproj:masterfrom
Conversation
…cation in all namespaces Signed-off-by: Elad Dolev <dolevelad@gmail.com>
Codecov ReportBase: 45.60% // Head: 45.60% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #11210 +/- ##
=======================================
Coverage 45.60% 45.60%
=======================================
Files 239 239
Lines 28973 28973
=======================================
Hits 13214 13214
Misses 13940 13940
Partials 1819 1819 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Elad Dolev <dolevelad@gmail.com>
|
Don't you also need Check this out - argoproj/argo-helm#1625. Seems like create for events in required as well. |
|
Reading through the proposal I agree with @nxf5025 , I think Argo CD Server should have permissions to create as well. WDYT @EladDolev |
|
Well @iam-veeramalla it makes sense to me, but from my experience I am able to create applications without this permission @nxf5025 can you maybe share some information on how to reproduce the issue ? |
|
Linking my comment from argo-helm - argoproj/argo-helm#1625 (comment) |
|
Well I swear the example works for me out of the box 😄 Maybe @jannfis or one of the maintainers can help here with some insights Is it argocd-server that creates the Application ? or is it another principal ? |
|
@crenshaw-dev @alexef can be merged |
|
I also appear to be running into exactly the error message in this bug report, also while trying to make changes to an (I am wondering if perhaps Applications are created by the |
|
Oops. I'm sorry, I have not noticed this PR before. Apologies please for coming back here so late. We decided to not supply the argocd-server with a writing cluster role by default. Instead, we supply an example clusterrole that people can install when opting into this feature. |
|
I dug through several of the files & associated changes. What I'm not getting is why not make that the default? As it stands, it seems like w.r.t. this feature, ArgoCD ships broken out of the box, and it's up to users to discover that, and then discover the fix you've linked to, and then apply it. I.e., your linked |
Add missing ClusterRole permissions to argo-cd-server to manage Application in all namespaces
Signed-off-by: Elad Dolev dolevelad@gmail.com
Following #9755, argo-cd server needs permissions to update Applications in every namespace
Steps to reproduce:
Checklist: