diff --git a/deploy/nfs/kubernetes/csi-nfsplugin-provisioner.yaml b/deploy/nfs/kubernetes/csi-nfsplugin-provisioner.yaml index 61f105906..021ca0b91 100644 --- a/deploy/nfs/kubernetes/csi-nfsplugin-provisioner.yaml +++ b/deploy/nfs/kubernetes/csi-nfsplugin-provisioner.yaml @@ -47,9 +47,7 @@ spec: - "--timeout=150s" - "--leader-election=true" - "--retry-interval-start=500ms" - # TODO: enable the feature-gate once error has been handled in nfs. - # Issue #3230 - # - "--feature-gates=HonorPVReclaimPolicy=true" + - "--feature-gates=HonorPVReclaimPolicy=true" - "--prevent-volume-mode-conversion=true" env: - name: ADDRESS diff --git a/deploy/nfs/kubernetes/csi-provisioner-rbac.yaml b/deploy/nfs/kubernetes/csi-provisioner-rbac.yaml index 0fd3fa697..5fa71cf4a 100644 --- a/deploy/nfs/kubernetes/csi-provisioner-rbac.yaml +++ b/deploy/nfs/kubernetes/csi-provisioner-rbac.yaml @@ -20,7 +20,7 @@ rules: verbs: ["list", "watch", "create", "update", "patch"] - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "patch"] + verbs: ["get", "list", "watch", "create", "update", "delete", "patch"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"]