mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-03 11:45:45 +00:00
GitHub IDP watcher should not dial an address that has already been validated
This commit is contained in:
committed by
Ryan Richard
parent
72745cd8fe
commit
288e092d2e
@@ -25,6 +25,7 @@ import (
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
"k8s.io/apimachinery/pkg/runtime/serializer"
|
||||
"k8s.io/apimachinery/pkg/util/cache"
|
||||
apimachineryversion "k8s.io/apimachinery/pkg/version"
|
||||
genericapifilters "k8s.io/apiserver/pkg/endpoints/filters"
|
||||
openapinamer "k8s.io/apiserver/pkg/endpoints/openapi"
|
||||
@@ -341,6 +342,7 @@ func prepareControllers(
|
||||
controllerlib.WithInformer,
|
||||
clock.RealClock{},
|
||||
tls.Dial,
|
||||
cache.NewExpiring(),
|
||||
),
|
||||
singletonWorker).
|
||||
WithController(
|
||||
|
||||
Reference in New Issue
Block a user