File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -223,11 +223,14 @@ rules:
223
223
apiVersion : rbac.authorization.k8s.io/v1
224
224
kind : ClusterRole
225
225
metadata :
226
- name : apl-gitea-operator-team-{{ $v.teamId }}-pipeline-watcher
226
+ name : apl-gitea-operator-team-{{ $v.teamId }}-trigger- pipeline-watcher
227
227
rules :
228
228
- apiGroups : ["tekton.dev"]
229
229
resources : ["pipelines"]
230
230
verbs : ["watch", "list", "get"]
231
+ - apiGroups : ["triggers.tekton.dev"]
232
+ resources : ["triggertemplates"]
233
+ verbs : ["watch", "list", "get"]
231
234
---
232
235
# RoleBinding for the above Role in team namespace
233
236
apiVersion : rbac.authorization.k8s.io/v1
@@ -247,7 +250,7 @@ roleRef:
247
250
apiVersion : rbac.authorization.k8s.io/v1
248
251
kind : ClusterRoleBinding
249
252
metadata :
250
- name : apl-gitea-operator-team-{{ $v.teamId }}-pipeline-binding
253
+ name : apl-gitea-operator-team-{{ $v.teamId }}-trigger- pipeline-binding
251
254
subjects :
252
255
- kind : ServiceAccount
253
256
namespace : apl-gitea-operator
You can’t perform that action at this time.
0 commit comments