mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-25 17:34:37 +00:00
supervisor-oidc: int test passes, but impl needs refactor
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
@@ -23,7 +23,6 @@ import (
|
||||
"go.pinniped.dev/internal/controller/supervisorconfig"
|
||||
"go.pinniped.dev/internal/controllerlib"
|
||||
"go.pinniped.dev/internal/downward"
|
||||
"go.pinniped.dev/internal/oidc"
|
||||
"go.pinniped.dev/internal/oidc/discovery"
|
||||
"go.pinniped.dev/internal/oidc/issuerprovider"
|
||||
)
|
||||
@@ -34,10 +33,8 @@ const (
|
||||
)
|
||||
|
||||
func start(ctx context.Context, l net.Listener, discoveryHandler http.Handler) {
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle(oidc.WellKnownURLPath, discoveryHandler)
|
||||
server := http.Server{
|
||||
Handler: mux,
|
||||
Handler: discoveryHandler,
|
||||
}
|
||||
|
||||
errCh := make(chan error)
|
||||
|
||||
Reference in New Issue
Block a user