diff --git a/pkg/minikube/bootstrapper/kubeadm/versions.go b/pkg/minikube/bootstrapper/kubeadm/versions.go index df5583ba81fe..d0680ec52be0 100644 --- a/pkg/minikube/bootstrapper/kubeadm/versions.go +++ b/pkg/minikube/bootstrapper/kubeadm/versions.go @@ -18,7 +18,7 @@ package kubeadm import ( "fmt" - "path/filepath" + "path" "sort" "strings" @@ -193,7 +193,7 @@ var versionSpecificOpts = []VersionedExtraOption{ // Auth args NewUnversionedOption(Kubelet, "authorization-mode", "Webhook"), - NewUnversionedOption(Kubelet, "client-ca-file", filepath.Join(util.DefaultCertPath, "ca.crt")), + NewUnversionedOption(Kubelet, "client-ca-file", path.Join(util.DefaultCertPath, "ca.crt")), // Cgroup args NewUnversionedOption(Kubelet, "cadvisor-port", "0"),