Skip to content

Commit 8ffbccb

Browse files
authored
add ability to view pac repositories (#7371)
- The legacy components/authentication/base/everyone-can-view.yaml seemed to include this RBAC. - it helps users determine if a Repository might point to be deleted secret for example. Signed-off-by: Scott Hebert <[email protected]>
1 parent 1a3d47f commit 8ffbccb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRole
4+
metadata:
5+
name: e2e-release-pipeline-resources-role
6+
rules:
7+
- apiGroups:
8+
- pipelinesascode.tekton.dev
9+
resources:
10+
- repositories
11+
verbs:
12+
- get
13+
- list
14+
- watch

components/release/base/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ resources:
66
- release-service-config-rbac.yaml
77
- release-service-configurator-role.yaml
88
- release-team.yaml
9+
- e2e-release-pipeline-resources-role.yaml
910
- cronjobs/
1011

1112
apiVersion: kustomize.config.k8s.io/v1beta1

0 commit comments

Comments
 (0)