1
0

PV provisioning fails when storageclass has volumeBindingMode as 'WaitForFirstConsumer':

1. Adds RBAC permissions to get nodes in the cluster.
2. Bumps the chart version
This commit is contained in:
Ravikiran Singh
2021-03-10 10:54:41 +05:30
parent 7947697c42
commit 2cad8da61c
4 changed files with 10 additions and 1 deletions

View File

@@ -3,6 +3,9 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: nfs-client-provisioner-runner
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]

View File

@@ -10,6 +10,9 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: nfs-client-provisioner-runner
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]