Skip to content
Snippets Groups Projects
Select Git revision
  • cvh
  • main
  • master default protected
3 results

role-admin.yaml

Blame
  • role-admin.yaml 849 B
    ---
    
    kind: Role
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      name: tekton-triggers-admin
      namespace: sig-build
    rules:
    - apiGroups:
      - tekton.dev
      resources:
      - eventlisteners
      - triggerbindings
      - triggertemplates
      - pipelineresources
      verbs:
      - get
    - apiGroups:
      - tekton.dev
      resources:
      - pipelineruns
      - pipelineresources
      verbs:
      - create
    - apiGroups:
      - ""
      resources:
      - configmaps
      verbs:
      - get
      - list
      - watch
    
    ---
    
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: tekton-triggers-admin
      namespace: sig-build
    
    ---
    
    apiVersion: rbac.authorization.k8s.io/v1
    kind: RoleBinding
    metadata:
      name: tekton-triggers-admin-binding
      namespace: sig-build
    subjects:
      - kind: ServiceAccount
        name: tekton-triggers-admin
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: tekton-triggers-admin