Update clusterrole to support new leader election with leases

This commit is contained in:
Starttoaster 2024-06-06 13:56:25 -07:00
parent 32123d4383
commit fe20228d14
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 4.0.2
appVersion: 4.0.3
description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes.
name: nfs-subdir-external-provisioner
home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
version: 4.0.19
version: 4.0.20
kubeVersion: ">=1.9.0-0"
sources:
- https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner

View File

@ -21,6 +21,9 @@ rules:
- apiGroups: [""]
resources: ["events"]
verbs: ["create", "update", "patch"]
- verbs: ['*']
apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
{{- if .Values.podSecurityPolicy.enabled }}
- apiGroups: ['extensions']
resources: ['podsecuritypolicies']