This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rbac error listing Secrets at cluster scope. (#38)
* Fix rbac error listing Secrets at cluster scope. The Secret Watch established in the ApplicationSet controller is global, and rbac for global secrets was recently removed resulting in a broken controller. To work past this and avoid re-introducing global Secret watch RBAC, the Manager's cache is now limited to only the namespace in which it is running. This implies that any attempts to use the client outside that namespace will not work. However this should be safe as we work with Applications and Secrets, both of which should not exist beyond the ArgoCD namespace where we're running. * Remove concept of a default namespace.
- Loading branch information