mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #37613 from wojtek-t/limitranger_index
Automatic merge from submit-queue Add namespace index for limit ranger Without this PR I'm seeing a huge number of lines like this: ``` Index with name namespace does not exist ``` Those are coming from LimitRanger admission controller - this PR fixes those.
This commit is contained in:
commit
2c0e59b974
@ -467,7 +467,7 @@ func NewInternalLimitRangeInformer(internalclient internalclientset.Interface, r
|
||||
},
|
||||
&api.LimitRange{},
|
||||
resyncPeriod,
|
||||
cache.Indexers{})
|
||||
cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
|
||||
|
||||
return sharedIndexInformer
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user