github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/test/integration/config/prow/cluster/gangway_rbac.yaml (about)

     1  apiVersion: v1
     2  kind: ServiceAccount
     3  metadata:
     4    name: gangway
     5    namespace: default
     6  ---
     7  kind: Role
     8  apiVersion: rbac.authorization.k8s.io/v1
     9  metadata:
    10    name: gangway
    11    namespace: default
    12  rules:
    13    - apiGroups:
    14        - prow.k8s.io
    15      resources:
    16        - prowjobs
    17      verbs:
    18        - create
    19        - get
    20        - list
    21  ---
    22  kind: RoleBinding
    23  apiVersion: rbac.authorization.k8s.io/v1
    24  metadata:
    25    name: gangway
    26    namespace: default
    27  roleRef:
    28    apiGroup: rbac.authorization.k8s.io
    29    kind: Role
    30    name: gangway
    31  subjects:
    32  - kind: ServiceAccount
    33    name: gangway