Skip to content

Commit

Permalink
Fix for Minikube #3495
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jasoncwik committed Dec 29, 2018
1 parent 6a04066 commit 9dd74f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/addons/storageclass/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9dd74f7

Please sign in to comment.