diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index c491482910..28fbb0669e 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -6,6 +6,3 @@ resources: bases: - ../rbac - ../manager - -patchesStrategicMerge: -- manager_role_aggregation_patch.yaml diff --git a/config/default/manager_role_aggregation_patch.yaml b/config/default/manager_role_aggregation_patch.yaml deleted file mode 100644 index 8e335f4930..0000000000 --- a/config/default/manager_role_aggregation_patch.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: manager-role - labels: - cluster.x-k8s.io/aggregate-to-manager: "true" ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: manager-rolebinding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: capi-system-capi-aggregated-manager-role