--- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: manager-role rules: - apiGroups: - "" resources: - secrets verbs: - get - list - watch - apiGroups: - batch resources: - cronjobs - jobs verbs: - create - delete - get - list - patch - update - watch - apiGroups: - batch.rml.ru resources: - gitlabjobrunners verbs: - create - delete - get - list - patch - update - watch - apiGroups: - batch.rml.ru resources: - gitlabjobrunners/finalizers verbs: - update - apiGroups: - batch.rml.ru resources: - gitlabjobrunners/status verbs: - get - patch - update