const caCertsVolumeName …
const caCertsVolumePath …
const flexvolumeDirVolumeName …
const defaultFlexvolumeDirVolumePath …
var caCertsExtraVolumePaths …
func getHostPathVolumesForTheControlPlane(cfg *kubeadmapi.ClusterConfiguration) controlPlaneHostPathMounts { … }
type controlPlaneHostPathMounts …
func newControlPlaneHostPathMounts() controlPlaneHostPathMounts { … }
func (c *controlPlaneHostPathMounts) NewHostPathMount(component, mountName, hostPath, containerPath string, readOnly bool, hostPathType *v1.HostPathType) { … }
func (c *controlPlaneHostPathMounts) AddHostPathMounts(component string, vols []v1.Volume, volMounts []v1.VolumeMount) { … }
func (c *controlPlaneHostPathMounts) AddExtraHostPathMounts(component string, extraVols []kubeadmapi.HostPathMount) { … }
func (c *controlPlaneHostPathMounts) GetVolumes(component string) map[string]v1.Volume { … }
func (c *controlPlaneHostPathMounts) GetVolumeMounts(component string) map[string]v1.VolumeMount { … }
func (c *controlPlaneHostPathMounts) addComponentVolume(component string, vol v1.Volume) { … }
func (c *controlPlaneHostPathMounts) addComponentVolumeMount(component string, volMount v1.VolumeMount) { … }
func getEtcdCertVolumes(etcdCfg *kubeadmapi.ExternalEtcd, k8sCertificatesDir string) ([]v1.Volume, []v1.VolumeMount) { … }
func isExtraVolumeMountNeeded(caCertsExtraVolumePath string) bool { … }