mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-03 11:45:45 +00:00
Populate internal GitHub IDP Config from CRD
This commit is contained in:
@@ -68,6 +68,7 @@ import (
|
||||
"go.pinniped.dev/internal/groupsuffix"
|
||||
"go.pinniped.dev/internal/kubeclient"
|
||||
"go.pinniped.dev/internal/leaderelection"
|
||||
"go.pinniped.dev/internal/net/phttp"
|
||||
"go.pinniped.dev/internal/plog"
|
||||
"go.pinniped.dev/internal/pversion"
|
||||
"go.pinniped.dev/internal/secret"
|
||||
@@ -325,12 +326,15 @@ func prepareControllers(
|
||||
singletonWorker).
|
||||
WithController(
|
||||
githubupstreamwatcher.New(
|
||||
podInfo.Namespace,
|
||||
dynamicUpstreamIDPProvider,
|
||||
pinnipedClient,
|
||||
pinnipedInformers.IDP().V1alpha1().GitHubIdentityProviders(),
|
||||
secretInformer,
|
||||
plog.New(),
|
||||
controllerlib.WithInformer,
|
||||
clock.RealClock{},
|
||||
phttp.Default,
|
||||
),
|
||||
singletonWorker).
|
||||
WithController(
|
||||
|
||||
Reference in New Issue
Block a user