--- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: creationTimestamp: null name: manager-role rules: - apiGroups: - bootstrap.cluster.x-k8s.io - controlplane.cluster.x-k8s.io - infrastructure.cluster.x-k8s.io resources: - '*' verbs: - create - delete - get - list - patch - update - watch - apiGroups: - cluster.x-k8s.io resources: - clusters - clusters/status verbs: - get - list - watch - apiGroups: - cluster.x-k8s.io resources: - machines - machines/status verbs: - create - delete - get - list - patch - update - watch - apiGroups: - "" resources: - events verbs: - create - get - list - patch - watch - apiGroups: - "" resources: - secrets verbs: - create - get - list - patch - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: creationTimestamp: null name: manager-role namespace: kube-system rules: - apiGroups: - "" resources: - configmaps verbs: - create - get - list - watch - apiGroups: - rbac resources: - rolebindings verbs: - create - get - list - watch - apiGroups: - rbac resources: - roles verbs: - create - get - list - watch