Apply labelSelector as a TweakListOptions for Kubernetes informers
This commit is contained in:
parent
f83a57b3da
commit
be0845af02
17 changed files with 317 additions and 98 deletions
|
@ -34,7 +34,9 @@ func TestClientIgnoresHelmOwnedSecrets(t *testing.T) {
|
|||
|
||||
client := newClientImpl(kubeClient, crdClient)
|
||||
|
||||
eventCh, err := client.WatchAll(nil, nil)
|
||||
stopCh := make(chan struct{})
|
||||
|
||||
eventCh, err := client.WatchAll(nil, stopCh)
|
||||
require.NoError(t, err)
|
||||
|
||||
select {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue