From 4aab31176051336c153d64c1f809ab6cf3ef70ed Mon Sep 17 00:00:00 2001 From: Jason Cwik Date: Fri, 28 Dec 2018 20:18:14 -0600 Subject: [PATCH] Fix for Minikube #3495 Change the policy for the minikube-hostpath storage class addon from Reconcile to EnsureExists. When it's set to reconcile, it's impossible to change the default storage class in Minikube because it will keep setting the minikube-hostpath storageclass to default. Ported from kubernetes/kubernetes#66235 --- deploy/addons/storageclass/storageclass.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/addons/storageclass/storageclass.yaml b/deploy/addons/storageclass/storageclass.yaml index acc218276e04..c1c6ecf0088f 100644 --- a/deploy/addons/storageclass/storageclass.yaml +++ b/deploy/addons/storageclass/storageclass.yaml @@ -6,6 +6,6 @@ metadata: annotations: storageclass.beta.kubernetes.io/is-default-class: "true" labels: - addonmanager.kubernetes.io/mode: Reconcile + addonmanager.kubernetes.io/mode: EnsureExists provisioner: k8s.io/minikube-hostpath