File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
examples/operator/templates Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRole
3+ metadata :
4+ name : {{ include "operator.fullname" . }}-manager-aggregated-role
5+ labels :
6+ {{- include "operator.labels" . | nindent 4 }}
7+ aggregationRule :
8+ clusterRoleSelectors :
9+ - matchExpressions :
10+ - key : app.kubernetes.io/instance
11+ operator : In
12+ values :
13+ - my-operator
14+ rules : []
Original file line number Diff line number Diff line change @@ -364,6 +364,20 @@ rules:
364364---
365365apiVersion: rbac.authorization.k8s.io/v1
366366kind: ClusterRole
367+ metadata:
368+ creationTimestamp: null
369+ name: my-operator-manager-aggregated-role
370+ aggregationRule:
371+ clusterRoleSelectors:
372+ - matchExpressions:
373+ - key: app.kubernetes.io/instance
374+ operator: In
375+ values:
376+ - my-operator
377+ rules: []
378+ ---
379+ apiVersion: rbac.authorization.k8s.io/v1
380+ kind: ClusterRole
367381metadata:
368382 creationTimestamp: null
369383 name: my-operator-manager-role
You can’t perform that action at this time.
0 commit comments