# Source: jxboot-helmfile-resources/charts/controllerrole/templates/role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: controllerrole
  namespace: jx
  labels:
    gitops.jenkins-x.io/pipeline: 'namespaces'
rules:
  - apiGroups:
      - jenkins.io
    resources:
      - environmentrolebindings
    verbs:
      - list
      - get
      - watch
      - create
      - patch
      - update
  - apiGroups:
      - tekton.dev
    resources:
      - '*'
    verbs:
      - list
      - get
      - watch
