Update RBAC to enable access to machineconfig object for the baremetal controller
@@ -201,6 +201,17 @@ rules:
- list
- watch
+# The baremetal controller needs access to rendered-ignition
+ - apiGroups:
+ - machineconfiguration.openshift.io
+ resources:
+ - machineconfigs
+ - machineconfigpools
+ verbs:
+ - get
+ - list
+ - watch
+
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
