From 5c2bc19183ad265a889f5d7905e09b85cca3f650 Mon Sep 17 00:00:00 2001 From: Eric Butler Date: Thu, 4 Jun 2020 19:49:13 -0400 Subject: [PATCH] Use latest version of storage-provisioner to work around #7218 Also need to follow instructions here: https://github.com/kubernetes/minikube/issues/7218#issuecomment-628795243 > After installing new version of storage-provisioner you need to edit clusterrole: > `kubectl edit clusterrole -n kube-system system:persistent-volume-provisioner` > and add new permissions there ``` - apiGroups: - "" resources: - endpoints verbs: - get - list - watch - create - patch - update ``` --- deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl b/deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl index d87939b529ec..fd8758121a30 100644 --- a/deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl +++ b/deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl @@ -51,7 +51,7 @@ spec: hostNetwork: true containers: - name: storage-provisioner - image: {{default "gcr.io/k8s-minikube" .ImageRepository}}/storage-provisioner{{.ExoticArch}}:v1.8.1 + image: {{default "gcr.io/k8s-minikube" .ImageRepository}}/storage-provisioner{{.ExoticArch}}:latest command: ["/storage-provisioner"] imagePullPolicy: IfNotPresent volumeMounts: