-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing rights on ApplicationSet resource for application controller service account #2974
Comments
I'm not sure that this is actually unexpected behavior. My understanding of namespaced mode is that Argo CD comes with roles for each component to manage their own resources and do nothing else. There's no GitOps management out of the box. After installing the namespaced-mode Argo CD, you're expected to add cluster configurations for anywhere you want to deploy to. I'm inferring all this from looking at the manifests, I could be missing something. |
One of the usual use cases it to have ArgoCD deployed on a control plane cluster, managing applicative remote clusters. In such case, we expect to deploy in-cluster only Applications and ApplicationSets. Other ressources are deployed on the target remote clusters. I think this use case is common enough to not force all users to redefine their roles on top to allow it. |
Fair point, especially when it's possible to create (certain) AppSets via the API. If the goal is to allow people to fully manage Argo CD's own config out of the box, we'd want to add write access for these as well:
If the goal is feature parity between API-managed resources and GitOps managed resources, I think the list is this:
I've added a topic to the next contributors meeting. We'll pick a strategy and then make the changes. Probably need some docs around this. |
Should we list secrets in the gitops option ? |
Agreed on Secrets. Contributors call says lets add Applications access. We probably need some upstream docs on the intent of namespaced mode. i.e. you can GitOps-managed Argo CRDs in the |
Describe the bug
Hello,
When performing an argocd installation using the chart, namespace-scoped (createClusterRoles: false), we can't sync ApplicationSet in the cluster as the role defined for the application controller is missing this resource.
An error is displayed as the application controller can't create applicationsets
Related helm chart
argo-cd
Helm chart version
7.6.8
To Reproduce
Expected behavior
The applicationset should be correctly created.
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: