-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the operator was configured to select only a limited number of namespaces, it would not watch for namespace changes. It means that the operator may not reconcile when a namespace label is added/removed (affecting which objects should be selected or not). This change enables the operator to use a privileged namespace lister/watcher whenever the service account has the needed permissions. **IMPORTANT:** it also requires Kubernetes >= 1.22 to be effective but the operator will degrade to the suboptimal implementation without watch if this condition isn't met. Closes #3847 Signed-off-by: Simon Pasquier <spasquie@redhat.com>
- Loading branch information
1 parent
0d4d33d
commit e274af7
Showing
14 changed files
with
600 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.