fix: grant scoped Tekton interceptor access
This commit is contained in:
1 parent
9ec1eebe2e
commit
b14c8e5b43
2 files changed
+28
No files matched your search
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: lolympus-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: lolympus-tekton-eventlistener-interceptors
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: lolympus-tekton-eventlistener-interceptors
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: lolympus-event-listener
|
||||||
|
namespace: tekton-ci
|
||||||
@@ -3,3 +3,4 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- tektonconfig.yaml
|
- tektonconfig.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
- eventlistener-rbac.yaml
|
||||||
Reference in new issue
Block a user