Após executar o comando para habilitar o addon csi-hostpath-driver (comando abaixo), são exibidas várias mensagens de erro (principais logo abaixo e o csi-hostpath-driver permanece desabilitado.
Alguém saberia como faço para resolver este problema ?
minikube addons enable csi-hostpath-driver
Verifying csi-hostpath-driver addon...
❌ Exiting due to MK_ADDON_ENABLE: enable failed: run callbacks: running callbacks: [sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.18.3/kubectl apply --force -f /etc/kubernetes/addons/rbac-external-attacher.yaml -f /etc/kubernetes/addons/rbac-hostpath.yaml -f /etc/kubernetes/addons/rbac-external-health-monitor-controller.yaml -f /etc/kubernetes/addons/rbac-external-provisioner.yaml -f /etc/kubernetes/addons/rbac-external-resizer.yaml -f /etc/kubernetes/addons/rbac-external-snapshotter.yaml -f /etc/kubernetes/addons/csi-hostpath-attacher.yaml -f /etc/kubernetes/addons/csi-hostpath-driverinfo.yaml -f /etc/kubernetes/addons/csi-hostpath-plugin.yaml -f /etc/kubernetes/addons/csi-hostpath-resizer.yaml -f /etc/kubernetes/addons/csi-hostpath-storageclass.yaml: Process exited with status 1
stderr:
error: error validating "/etc/kubernetes/addons/csi-hostpath-driverinfo.yaml": error validating data: [ValidationError(CSIDriver.spec): unknown field "fsGroupPolicy" in io.k8s.api.storage.v1.CSIDriverSpec, ValidationError(CSIDriver.spec): unknown field "storageCapacity" in io.k8s.api.storage.v1.CSIDriverSpec]; if you choose to ignore these errors, turn validation off with --validate=false