{{- if .Values.rufio.deploy }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: creationTimestamp: null name: {{ .Values.rufio.managerRoleName }} rules: - apiGroups: - "" resources: - secrets verbs: - get - list - watch - apiGroups: - bmc.tinkerbell.org resources: - jobs verbs: - create - delete - get - list - patch - update - watch - apiGroups: - bmc.tinkerbell.org resources: - jobs/finalizers verbs: - update - apiGroups: - bmc.tinkerbell.org resources: - jobs/status verbs: - get - patch - update - apiGroups: - bmc.tinkerbell.org resources: - machines verbs: - create - delete - get - list - patch - update - watch - apiGroups: - bmc.tinkerbell.org resources: - machines/finalizers verbs: - update - apiGroups: - bmc.tinkerbell.org resources: - machines/status verbs: - get - patch - update - apiGroups: - bmc.tinkerbell.org resources: - tasks verbs: - create - delete - get - list - patch - update - watch - apiGroups: - bmc.tinkerbell.org resources: - tasks/finalizers verbs: - update - apiGroups: - bmc.tinkerbell.org resources: - tasks/status verbs: - get - patch - update {{- end }}