Skip to content

Commit

Permalink
Merge pull request #63 from muvaf/sync-upstream-release-1.9
Browse files Browse the repository at this point in the history
Cherry-pick the ability to disable clusterrole aggregation
  • Loading branch information
muvaf authored Sep 28, 2022
2 parents b956507 + bdd5908 commit 99b2bf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/charts/crossplane/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
labels:
app: {{ template "crossplane.name" . }}
{{- include "crossplane.labels" . | indent 4 }}
{{- if .Values.rbacManager.deploy }}
aggregationRule:
clusterRoleSelectors:
- matchLabels:
Expand All @@ -19,6 +20,7 @@ metadata:
{{- include "crossplane.labels" . | indent 4 }}
crossplane.io/scope: "system"
rbac.crossplane.io/aggregate-to-crossplane: "true"
{{- end }}
rules:
- apiGroups:
- ""
Expand Down

0 comments on commit 99b2bf8

Please sign in to comment.