Commit fd8e6d03 authored by Alexander Block's avatar Alexander Block

Fix test failures in manifests_test.go

parent 8373ab58
...@@ -201,7 +201,7 @@ func TestK8sVolume(t *testing.T) { ...@@ -201,7 +201,7 @@ func TestK8sVolume(t *testing.T) {
{ {
cfg: &kubeadmapi.MasterConfiguration{}, cfg: &kubeadmapi.MasterConfiguration{},
expected: api.Volume{ expected: api.Volume{
Name: "pki", Name: "k8s",
VolumeSource: api.VolumeSource{ VolumeSource: api.VolumeSource{
HostPath: &api.HostPathVolumeSource{ HostPath: &api.HostPathVolumeSource{
Path: kubeadmapi.GlobalEnvParams.KubernetesDir}, Path: kubeadmapi.GlobalEnvParams.KubernetesDir},
...@@ -234,7 +234,7 @@ func TestK8sVolumeMount(t *testing.T) { ...@@ -234,7 +234,7 @@ func TestK8sVolumeMount(t *testing.T) {
}{ }{
{ {
expected: api.VolumeMount{ expected: api.VolumeMount{
Name: "pki", Name: "k8s",
MountPath: "/etc/kubernetes/", MountPath: "/etc/kubernetes/",
ReadOnly: true, ReadOnly: true,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment