deploy: enable HonorPVReclaimPolicy feature gate

This commit enables the HonorPVReclaimPolicy feature
gate.

fixes: #3230

Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
Yati Padia 2022-07-20 12:04:10 +05:30 committed by mergify[bot]
parent bc9ad3d9f1
commit f0074a3ebf
2 changed files with 2 additions and 4 deletions

View File

@ -47,9 +47,7 @@ spec:
- "--timeout=150s" - "--timeout=150s"
- "--leader-election=true" - "--leader-election=true"
- "--retry-interval-start=500ms" - "--retry-interval-start=500ms"
# TODO: enable the feature-gate once error has been handled in nfs. - "--feature-gates=HonorPVReclaimPolicy=true"
# Issue #3230
# - "--feature-gates=HonorPVReclaimPolicy=true"
- "--prevent-volume-mode-conversion=true" - "--prevent-volume-mode-conversion=true"
env: env:
- name: ADDRESS - name: ADDRESS

View File

@ -20,7 +20,7 @@ rules:
verbs: ["list", "watch", "create", "update", "patch"] verbs: ["list", "watch", "create", "update", "patch"]
- apiGroups: [""] - apiGroups: [""]
resources: ["persistentvolumes"] resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete", "patch"] verbs: ["get", "list", "watch", "create", "update", "delete", "patch"]
- apiGroups: [""] - apiGroups: [""]
resources: ["persistentvolumeclaims"] resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"] verbs: ["get", "list", "watch", "update"]