mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #44753 from xilabao/fix-config-path-broken
Automatic merge from submit-queue (batch tested with PRs 44583, 44139, 44753) fix config path broken in kubeadm fixes https://github.com/kubernetes/kubeadm/issues/234
This commit is contained in:
commit
fb72285a78
@ -264,7 +264,7 @@ func k8sVolume(cfg *kubeadmapi.MasterConfiguration) api.Volume {
|
||||
func k8sVolumeMount() api.VolumeMount {
|
||||
return api.VolumeMount{
|
||||
Name: "k8s",
|
||||
MountPath: "/etc/kubernetes/",
|
||||
MountPath: kubeadmapi.GlobalEnvParams.KubernetesDir,
|
||||
ReadOnly: true,
|
||||
}
|
||||
}
|
||||
|
@ -370,7 +370,7 @@ func TestK8sVolumeMount(t *testing.T) {
|
||||
{
|
||||
expected: api.VolumeMount{
|
||||
Name: "k8s",
|
||||
MountPath: "/etc/kubernetes/",
|
||||
MountPath: kubeadmapi.GlobalEnvParams.KubernetesDir,
|
||||
ReadOnly: true,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user