forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: <carry>: allows for switching KCM to talk to Kube API over …
…localhost to force KCM to use localhost set the following flag in kubecontrollermanager (oc edit kubecontrollermanager cluster) unsupportedConfigOverrides: extendedArguments: unsupported-kube-api-over-localhost: - "true" OpenShift-Rebase-Source: 036b11c UPSTREAM: <carry>: allows for switching KCM to talk to Kube API over localhost
- Loading branch information
1 parent
4ddd528
commit b421ce7
Showing
4 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
package config | ||
|
||
import ( | ||
"k8s.io/client-go/transport" | ||
|
||
"github.com/openshift/library-go/pkg/monitor/health" | ||
) | ||
|
||
// OpenShiftContext is additional context that we need to launch the kube-controller-manager for openshift. | ||
// Basically, this holds our additional config information. | ||
type OpenShiftContext struct { | ||
OpenShiftConfig string | ||
OpenShiftDefaultProjectNodeSelector string | ||
KubeDefaultProjectNodeSelector string | ||
UnsupportedKubeAPIOverPreferredHost bool | ||
PreferredHostRoundTripperWrapperFn transport.WrapperFunc | ||
PreferredHostHealthMonitor *health.Prober | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters