mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +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{},
|
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) {
|
|||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
expected: api.VolumeMount{
|
expected: api.VolumeMount{
|
||||||
Name: "pki",
|
Name: "k8s",
|
||||||
MountPath: "/etc/kubernetes/",
|
MountPath: "/etc/kubernetes/",
|
||||||
ReadOnly: true,
|
ReadOnly: true,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user