Remove osinserver from hypershift command
Now that cluster-authentication-operator is using openshift/origin-oauth-server:v4.2 image,
we no longer need openshift-osinserver within hypershift command.
@@ -16,7 +16,6 @@ import (
"k8s.io/component-base/logs"
"github.com/openshift/library-go/pkg/serviceability"
- openshift_integrated_oauth_server "github.com/openshift/oauth-server/pkg/cmd/oauth-server"
"github.com/openshift/openshift-apiserver/pkg/cmd/openshift-apiserver"
"github.com/openshift/openshift-controller-manager/pkg/cmd/openshift-controller-manager"
"github.com/openshift/sdn/pkg/openshift-network-controller"
@@ -71,11 +70,5 @@ func NewHyperShiftCommand(stopCh <-chan struct{}) *cobra.Command {
startOpenShiftNetworkController := openshift_network_controller.NewOpenShiftNetworkControllerCommand(openshift_network_controller.RecommendedStartNetworkControllerName, "hypershift", os.Stdout, os.Stderr)
cmd.AddCommand(startOpenShiftNetworkController)
- startOsin := openshift_integrated_oauth_server.NewOsinServer(os.Stdout, os.Stderr, stopCh)
- startOsin.Use = "openshift-osinserver"
- startOsin.Deprecated = "will be removed in 4.0"
- startOsin.Hidden = true
- cmd.AddCommand(startOsin)
-
return cmd
}
