mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +00:00
Fix test failures in manifests_test.go
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user