Documentation
¶
Index ¶
- Constants
- func AddProxyConfigToCluster(sshRunner *ssh.Runner, ocConfig oc.Config, proxy *network.ProxyConfig) error
- func AddProxyToKubeletAndCriO(sshRunner *ssh.Runner, proxy *network.ProxyConfig) error
- func ApproveCSRAndWaitForCertsRenewal(sshRunner *ssh.Runner, ocConfig oc.Config, client, server bool) error
- func CheckCertsValidity(sshRunner *ssh.Runner) (map[string]bool, error)
- func CheckProxySettingsForOperator(ocConfig oc.Config, proxy *network.ProxyConfig, deployment, namespace string) (bool, error)
- func DeleteOpenshiftAPIServerPods(ocConfig oc.Config) error
- func EnsureClusterIDIsNotEmpty(ocConfig oc.Config) error
- func EnsurePullSecretPresentInTheCluster(ocConfig oc.Config, pullSec *PullSecret) error
- func EnsurePullSecretPresentOnInstanceDisk(sshRunner *ssh.Runner, pullSecret *PullSecret) error
- func GetRootPartitionUsage(sshRunner *ssh.Runner) (int64, int64, error)
- func WaitForOpenshiftResource(ocConfig oc.Config, resource string) error
- func WaitForRequestHeaderClientCaFile(sshRunner *ssh.Runner) error
- func WaitForSSH(sshRunner *ssh.Runner) error
- type PullSecret
- type Status
Constants ¶
View Source
const ( KubeletServerCert = "/var/lib/kubelet/pki/kubelet-server-current.pem" KubeletClientCert = "/var/lib/kubelet/pki/kubelet-client-current.pem" AggregatorClientCert = "/etc/kubernetes/static-pod-resources/kube-apiserver-certs/configmaps/aggregator-client-ca/ca-bundle.crt" )
Variables ¶
This section is empty.
Functions ¶
func AddProxyConfigToCluster ¶
func AddProxyToKubeletAndCriO ¶
func AddProxyToKubeletAndCriO(sshRunner *ssh.Runner, proxy *network.ProxyConfig) error
AddProxyToKubeletAndCriO adds the systemd drop-in proxy configuration file to the instance, both services (kubelet and crio) need to be restarted after this change. Since proxy operator is not able to make changes to in the kubelet/crio side, this is the job of machine config operator on the node and for crc this is not possible so we do need to put it here.
func ApproveCSRAndWaitForCertsRenewal ¶ added in v1.20.0
func DeleteOpenshiftAPIServerPods ¶ added in v1.14.0
func EnsureClusterIDIsNotEmpty ¶ added in v1.20.0
func EnsurePullSecretPresentInTheCluster ¶ added in v1.20.0
func EnsurePullSecretPresentInTheCluster(ocConfig oc.Config, pullSec *PullSecret) error
func EnsurePullSecretPresentOnInstanceDisk ¶ added in v1.20.0
func EnsurePullSecretPresentOnInstanceDisk(sshRunner *ssh.Runner, pullSecret *PullSecret) error
func GetRootPartitionUsage ¶
Return size of disk, used space in bytes and the mountpoint
func WaitForOpenshiftResource ¶ added in v1.13.0
func WaitForRequestHeaderClientCaFile ¶ added in v1.20.0
func WaitForSSH ¶ added in v1.14.0
Types ¶
type PullSecret ¶ added in v1.20.0
func (*PullSecret) Value ¶ added in v1.20.0
func (p *PullSecret) Value() (string, error)
type Status ¶ added in v1.14.0
func GetClusterOperatorStatus ¶ added in v1.13.0
Click to show internal directories.
Click to hide internal directories.