Fix test failures in manifests_test.go

This commit is contained in:
Alexander Block 2016-12-05 10:28:23 +01:00
parent 8373ab5890
commit fd8e6d03e6

View File

@ -201,7 +201,7 @@ func TestK8sVolume(t *testing.T) {
{
cfg: &kubeadmapi.MasterConfiguration{},
expected: api.Volume{
Name: "pki",
Name: "k8s",
VolumeSource: api.VolumeSource{
HostPath: &api.HostPathVolumeSource{
Path: kubeadmapi.GlobalEnvParams.KubernetesDir},
@ -234,7 +234,7 @@ func TestK8sVolumeMount(t *testing.T) {
}{
{
expected: api.VolumeMount{
Name: "pki",
Name: "k8s",
MountPath: "/etc/kubernetes/",
ReadOnly: true,
},