mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #86567 from thdrnsdk/master
change print log for unity when during kubeadm init
This commit is contained in:
commit
15344433f2
@ -144,7 +144,7 @@ func (c *controlPlaneHostPathMounts) AddHostPathMounts(component string, vols []
|
|||||||
// paths in the case that a user specifies the same volume/volume mount name.
|
// paths in the case that a user specifies the same volume/volume mount name.
|
||||||
func (c *controlPlaneHostPathMounts) AddExtraHostPathMounts(component string, extraVols []kubeadmapi.HostPathMount) {
|
func (c *controlPlaneHostPathMounts) AddExtraHostPathMounts(component string, extraVols []kubeadmapi.HostPathMount) {
|
||||||
for _, extraVol := range extraVols {
|
for _, extraVol := range extraVols {
|
||||||
fmt.Printf("[controlplane] Adding extra host path mount %q to %q\n", extraVol.Name, component)
|
fmt.Printf("[control-plane] Adding extra host path mount %q to %q\n", extraVol.Name, component)
|
||||||
hostPathType := extraVol.PathType
|
hostPathType := extraVol.PathType
|
||||||
c.NewHostPathMount(component, extraVol.Name, extraVol.HostPath, extraVol.MountPath, extraVol.ReadOnly, &hostPathType)
|
c.NewHostPathMount(component, extraVol.Name, extraVol.HostPath, extraVol.MountPath, extraVol.ReadOnly, &hostPathType)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user