-
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
feat(argo-cd): add multi-namespace support for ApplicationSet controller RBAC #2935
feat(argo-cd): add multi-namespace support for ApplicationSet controller RBAC #2935
Conversation
Signed-off-by: leehosu <hosu4549@gmail.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
charts/argo-cd/templates/argocd-applicationset/clusterrolebinding.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: leehosu <hosu4549@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution. LGTM
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [argo-cd](https://redirect.github.com/argoproj/argo-helm) | patch | `7.6.2` -> `7.6.3` | --- ### Release Notes <details> <summary>argoproj/argo-helm (argo-cd)</summary> ### [`v7.6.3`](https://redirect.github.com/argoproj/argo-helm/releases/tag/argo-cd-7.6.3) A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. #### What's Changed - feat(argo-cd): add multi-namespace support for ApplicationSet controller RBAC by [@​leehosu](https://redirect.github.com/leehosu) in [https://github.com/argoproj/argo-helm/pull/2935](https://redirect.github.com/argoproj/argo-helm/pull/2935) #### New Contributors - [@​leehosu](https://redirect.github.com/leehosu) made their first contribution in [https://github.com/argoproj/argo-helm/pull/2935](https://redirect.github.com/argoproj/argo-helm/pull/2935) **Full Changelog**: argoproj/argo-helm@argo-cd-7.6.2...argo-cd-7.6.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/broersma-forslund/homelab). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This change was unnecessary, ApplicationSet in any namespace feature already working beginning from chart version 6.6.0. Additional subjects in ClusterRoleBinding do nothing, because these namespaces don't contain this service account. ApplicationSet controller uses single account in argocd namespace. |
Additionally, this will result in a RBAC that doesn't work. My ArgoCD config looks like this: configs:
params:
application.namespaces: project-*
applicationsetcontroller.namespaces: project-* Which will result in the following RBAC: subjects:
- kind: ServiceAccount
name: argocd-application-controllerargocd-applicationset-controller
namespace: ops
- kind: ServiceAccount
name: argocd-applicationset-controller
namespace: project-* # <-- doesn't work But kubernetes doesn't support wildcard syntax |
related #2919
Checklist: