Skip to content

Commit c80fae0

Browse files
committed
fixup! Support serviceaccount pull secrets
1 parent a4c4504 commit c80fae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/shared/util/pullsecretcache/pullsecretcache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func SetupPullSecretCache(cacheOptions *cache.Options, globalPullSecretKey *type
2626
LabelSelector: labels.Everything(),
2727
FieldSelector: fields.Everything(),
2828
}
29-
if globalPullSecretKey != nil {
29+
if globalPullSecretKey != nil && globalPullSecretKey.Namespace != saKey.Namespace {
3030
secretCache.Namespaces[globalPullSecretKey.Namespace] = cache.Config{
3131
LabelSelector: labels.Everything(),
3232
FieldSelector: fields.SelectorFromSet(map[string]string{

0 commit comments

Comments
 (0)