Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CABundleKey is the key in the Kube API Server CA and trusted CA ConfigMaps where the CA bundle is located CABundleKey = "ca-bundle.crt" // KubeApiServerOperatorNamespace is the namespace of the ConfigMap that contains the CA for the kubelet // to recognize the kube-apiserver client certificate. KubeApiServerOperatorNamespace = "openshift-kube-apiserver-operator" // KubeAPIServerServingCAConfigMapName is the name of the ConfigMap that contains the CA for the kubelet to // recognize the kube-apiserver client certificate. KubeAPIServerServingCAConfigMapName = "kube-apiserver-to-kubelet-client-ca" // ProxyCertsConfigMap is the name of the ConfigMap that holds the trusted CA bundle for a cluster-wide proxy ProxyCertsConfigMap = "trusted-ca" )
Variables ¶
This section is empty.
Functions ¶
func GetCAsFromConfigMap ¶
GetCAsFromConfigMap extracts the given key from the ConfigMap object Adapted from https://github.com/openshift/machine-config-operator/blob/1a9f70f333a2287c4a8f2e75cb37b94c7c7b2a20/pkg/operator/sync.go#L874
func GetInitialCAConfigMap ¶
GetInitialCAConfigMap returns the ConfigMap that contains the initial CA certificates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.