github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/test/integration/config/prow/cluster/hook_rbac.yaml (about) 1 apiVersion: v1 2 kind: ServiceAccount 3 metadata: 4 namespace: default 5 name: "hook" 6 --- 7 kind: Role 8 apiVersion: rbac.authorization.k8s.io/v1 9 metadata: 10 namespace: default 11 name: "hook" 12 rules: 13 - apiGroups: 14 - "prow.k8s.io" 15 resources: 16 - prowjobs 17 verbs: 18 - create 19 - get 20 - list 21 - update 22 - apiGroups: 23 - "" 24 resources: 25 - configmaps 26 verbs: 27 - create 28 - get 29 - update 30 --- 31 kind: RoleBinding 32 apiVersion: rbac.authorization.k8s.io/v1 33 metadata: 34 namespace: default 35 name: "hook" 36 roleRef: 37 apiGroup: rbac.authorization.k8s.io 38 kind: Role 39 name: "hook" 40 subjects: 41 - kind: ServiceAccount 42 name: "hook"