apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  labels:
    {{- include "jenkins-operator.labels" . | nindent 4 }}
  name: edp-jenkins-resources-permissions
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: jenkins-resources-role
subjects:
  - kind: ServiceAccount
    name: jenkins
    namespace: {{ .Values.global.edpName }}