From 90d3ffe0d9663ad4466c4a2f95cb19a45d5cc6d2 Mon Sep 17 00:00:00 2001 From: phillc <15082+phillc@users.noreply.github.com> Date: Fri, 29 Jan 2021 08:30:41 -0500 Subject: [PATCH] Update sidecars --- README.md | 2 +- deploy/kubernetes/sidecars/external-resizer/rbac.yaml | 9 ++++++--- hack/fetch-manifests.sh | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4c82a94d..63e64867 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ More information about the Kubernetes CSI can be found in the GitHub [Kubernetes ### Requirements -* Kubernetes v1.15+ +* Kubernetes v1.16+ * The node `hostname` must match the Linode Instance `label` ### Secure a Linode API Access Token: diff --git a/deploy/kubernetes/sidecars/external-resizer/rbac.yaml b/deploy/kubernetes/sidecars/external-resizer/rbac.yaml index 0aac0605..e8ef4b2f 100644 --- a/deploy/kubernetes/sidecars/external-resizer/rbac.yaml +++ b/deploy/kubernetes/sidecars/external-resizer/rbac.yaml @@ -1,4 +1,4 @@ -# xref: https://raw.githubusercontent.com/kubernetes-csi/external-resizer/v0.5.0/deploy/kubernetes/rbac.yaml +# xref: https://raw.githubusercontent.com/kubernetes-csi/external-resizer/v1.0.1/deploy/kubernetes/rbac.yaml # This YAML file contains all RBAC objects that are necessary to run external # CSI resizer. @@ -31,13 +31,16 @@ rules: # verbs: ["get", "list", "watch"] - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "update", "patch"] + verbs: ["get", "list", "watch", "patch"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["pods"] + verbs: ["get", "list", "watch"] - apiGroups: [""] resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] + verbs: ["patch"] - apiGroups: [""] resources: ["events"] verbs: ["list", "watch", "create", "update", "patch"] diff --git a/hack/fetch-manifests.sh b/hack/fetch-manifests.sh index c562fed2..7774a1c1 100755 --- a/hack/fetch-manifests.sh +++ b/hack/fetch-manifests.sh @@ -32,4 +32,4 @@ function external_resizer { external_provisioner "1.6" external_attacher "2.2" -external_resizer "0.5.0" +external_resizer "1.0.1"