feat(tekton): reconcile url-shortener CI with scoped RBAC
This commit is contained in:
1 parent
6df004a1da
commit
1e20c435cd
3 files changed
+71
No files matched your search
@@ -25,3 +25,31 @@ subjects:
|
||||
- kind: ServiceAccount
|
||||
name: lolympus-event-listener
|
||||
namespace: tekton-ci
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: url-shortener-tekton-eventlistener-interceptors
|
||||
rules:
|
||||
- apiGroups:
|
||||
- triggers.tekton.dev
|
||||
resources:
|
||||
- clusterinterceptors
|
||||
- clustertriggerbindings
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: url-shortener-tekton-eventlistener-interceptors
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: url-shortener-tekton-eventlistener-interceptors
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: url-shortener-event-listener
|
||||
namespace: tekton-ci
|
||||
Reference in new issue
Block a user