kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ .Release.Name }}-controller labels: app: {{ .Release.Name }}-controller component: {{ .Release.Name }}-controller release: {{ .Release.Name }} rules: - apiGroups: ["coordination.k8s.io"] resources: ["leases"] verbs: ["get", "watch", "list", "delete", "update", "create"]