File tree 2 files changed +39
-1
lines changed
charts/tekton-dashboard/templates
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,20 @@ roleRef:
21
21
apiGroup : rbac.authorization.k8s.io
22
22
kind : ClusterRole
23
23
name : {{ template "tekton-dashboard.fullname" . }}-tenant
24
+ subjects :
25
+ - kind : ServiceAccount
26
+ name : tekton-dashboard
27
+ namespace : {{ .Release.Namespace }}
28
+ ---
29
+ apiVersion : rbac.authorization.k8s.io/v1
30
+ kind : ClusterRoleBinding
31
+ metadata :
32
+ name : {{ template "tekton-dashboard.fullname" . }}-resources
33
+ labels : {{- include "tekton-dashboard.labels" . | indent 4 }}
34
+ roleRef :
35
+ apiGroup : rbac.authorization.k8s.io
36
+ kind : ClusterRole
37
+ name : {{ template "tekton-dashboard.fullname" . }}-resources
24
38
subjects :
25
39
- kind : ServiceAccount
26
40
name : tekton-dashboard
Original file line number Diff line number Diff line change 56
56
- namespaces
57
57
- pods
58
58
- pods/log
59
+ - serviceaccounts
59
60
verbs :
60
61
- get
61
62
- list
@@ -83,4 +84,27 @@ rules:
83
84
verbs :
84
85
- get
85
86
- list
86
- - watch
87
+ - watch
88
+ ---
89
+ apiVersion : rbac.authorization.k8s.io/v1
90
+ kind : ClusterRole
91
+ metadata :
92
+ name : {{ template "tekton-dashboard.fullname" . }}-resources
93
+ labels : {{- include "tekton-dashboard.labels" . | indent 4 }}
94
+ rules :
95
+ - apiGroups :
96
+ - tekton.dev
97
+ resources :
98
+ - tasks
99
+ - taskruns
100
+ - pipelines
101
+ - pipelineruns
102
+ - customruns
103
+ verbs :
104
+ - create
105
+ - get
106
+ - list
107
+ - watch
108
+ - update
109
+ - patch
110
+ - delete
You can’t perform that action at this time.
0 commit comments