mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Fix test failures in manifests_test.go
This commit is contained in:
parent
8373ab5890
commit
fd8e6d03e6
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user