fix: snapshot sidecar rbac permission issue

This commit is contained in:
andyzhangx 2024-03-13 14:51:23 +00:00
parent bf56ab1b50
commit 011120b947
2 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]
{{- if .Values.externalSnapshotter.enabled }}
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotclasses", "volumesnapshots"]
verbs: ["get", "list", "watch"]
@ -42,7 +41,6 @@ rules:
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents/status"]
verbs: ["get", "update", "patch"]
{{- end }}
- apiGroups: [""]
resources: ["events"]
verbs: ["get", "list", "watch", "create", "update", "patch"]