-
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): conditional namespace support to ClusterRoleBinding #2934
feat(argo-cd): conditional namespace support to ClusterRoleBinding #2934
Conversation
Signed-off-by: leehosu <[email protected]>
Signed-off-by: leehosu <[email protected]>
…eparated string Signed-off-by: leehosu <[email protected]>
Signed-off-by: leehosu <[email protected]>
Signed-off-by: leehosu <[email protected]>
Signed-off-by: leehosu <[email protected]>
charts/argo-cd/templates/argocd-application-controller/clusterrolebinding.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Aikawa <[email protected]> Signed-off-by: l2h <[email protected]>
…plitting and quoting. Signed-off-by: leehosu <[email protected]>
Signed-off-by: leehosu <[email protected]>
…ller.namespaces parameter Signed-off-by: leehosu <[email protected]>
@@ -13,4 +13,12 @@ subjects: | |||
- kind: ServiceAccount | |||
name: {{ include "argo-cd.controller.serviceAccountName" . }} | |||
namespace: {{ include "argo-cd.namespace" . }} | |||
{{- $namespaces := index .Values.configs.params "applicationsetcontroller.namespaces" -}} |
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.
Though I was distracted about the logic itself, the original issue ( #2919 ) is about argocd-applicationset-controller
sa, not argocd-application-controller
sa.
Are you sure that here is the right place to add code?
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.
Oh. I was mistaken. I'll close the PR, and I'll work on the argocd-applicationset-controller with the same logic and post the PR again. Thanks for the attention.
related #2919
Checklist: