github.com/jenkins-x/test-infra@v0.0.7/prow/cluster/plank_rbac.yaml (about)

     1  apiVersion: v1
     2  kind: ServiceAccount
     3  metadata:
     4    namespace: default
     5    name: "plank"
     6  ---
     7  kind: Role
     8  apiVersion: rbac.authorization.k8s.io/v1beta1
     9  metadata:
    10    namespace: default
    11    name: "plank"
    12  rules:
    13    - apiGroups:
    14        - ""
    15      resources:
    16        - pods
    17      verbs:
    18        - create
    19        - delete
    20        - list
    21    - apiGroups:
    22        - "prow.k8s.io"
    23      resources:
    24        - prowjobs
    25      verbs:
    26        - create
    27        - list
    28        - update
    29  ---
    30  kind: RoleBinding
    31  apiVersion: rbac.authorization.k8s.io/v1beta1
    32  metadata:
    33    namespace: default
    34    name: "plank"
    35  roleRef:
    36    apiGroup: rbac.authorization.k8s.io
    37    kind: Role
    38    name: "plank"
    39  subjects:
    40  - kind: ServiceAccount
    41    name: "plank"