forked from fluxcd/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly scope imagePullSecrets by their namespace
PR fluxcd#2520 broke the scoping of imagePullSecrets when allowing to get workloads from all namespaces at once. The problem is that a secret cache (`seenCreds`) was indexed by the secret name (making it namespace specific). Processing all the namespaces at once without adjusting the scoping opened the door to clashes between secrets from different namespaces which are called the same.
- Loading branch information
Showing
2 changed files
with
51 additions
and
10 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