Skip to content

Commit

Permalink
Access to Results Service and Route for systemauthenticated user
Browse files Browse the repository at this point in the history
  • Loading branch information
khrm committed Sep 7, 2023
1 parent 8265d80 commit 48cd6e4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
name: tekton-result-route-view
rules:
- apiGroups:
- route.openshift.io
resources:
- routes
verbs:
- get
resourceNames:
- tekton-results-api-service
- apiGroups:
- ""
resources:
- services
verbs:
- get
resourceNames:
- tekton-results-api-service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: tekton-result-route-view-auth
roleRef:
kind: ClusterRole
name: tekton-result-route-view
apiGroup: rbac.authorization.k8s.io
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: system:authenticated

0 comments on commit 48cd6e4

Please # to comment.