Skip to content

Commit 46c102e

Browse files
committed
add packagemanifest:aggregated-apiserver-clusterrole
1 parent 9500bb6 commit 46c102e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

deploy/chart/templates/0000_30_13-packageserver.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,23 @@ subjects:
5353
name: olm-operator-serviceaccount
5454
namespace: {{ .Values.namespace }}
5555
---
56+
kind: ClusterRole
57+
apiVersion: rbac.authorization.k8s.io/v1
58+
metadata:
59+
name: packagemanifest:aggregated-apiserver-clusterrole
60+
rules:
61+
- apiGroups: ["admissionregistration.k8s.io"]
62+
resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]
63+
verbs: ["get", "watch", "list"]
64+
---
5665
apiVersion: rbac.authorization.k8s.io/v1
5766
kind: ClusterRoleBinding
5867
metadata:
5968
name: package-apiserver-clusterrolebinding
6069
roleRef:
6170
apiGroup: rbac.authorization.k8s.io
6271
kind: ClusterRole
63-
name: aggregated-apiserver-clusterrole
72+
name: packagemanifest:aggregated-apiserver-clusterrole
6473
subjects:
6574
- kind: ServiceAccount
6675
name: olm-operator-serviceaccount

0 commit comments

Comments
 (0)