Skip to content
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

Conversation

leehosu
Copy link
Member

@leehosu leehosu commented Sep 22, 2024

related #2919

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

@leehosu leehosu changed the title feat(argocd): conditional namespace support to ClusterRoleBinding feat(argo-cd): conditional namespace support to ClusterRoleBinding Sep 22, 2024
@leehosu leehosu changed the title feat(argo-cd): conditional namespace support to ClusterRoleBinding add(argo-cd): conditional namespace support to ClusterRoleBinding Sep 24, 2024
@leehosu leehosu changed the title add(argo-cd): conditional namespace support to ClusterRoleBinding added(argo-cd): conditional namespace support to ClusterRoleBinding Sep 24, 2024
@leehosu leehosu changed the title added(argo-cd): conditional namespace support to ClusterRoleBinding feat(argo-cd): conditional namespace support to ClusterRoleBinding Sep 24, 2024
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" -}}
Copy link
Collaborator

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-controllersa.
Are you sure that here is the right place to add code?

Copy link
Member Author

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.

@leehosu leehosu closed this Sep 24, 2024
@leehosu leehosu deleted the feat/config-applicationsetcontroller-namespaces branch September 24, 2024 13:59
@leehosu leehosu restored the feat/config-applicationsetcontroller-namespaces branch September 24, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants