Skip to content

Commit 37e2a21

Browse files
committed
feat: create cluster role and cluster role binding for kite in stage
Create ClusterRole and ClusterRoleBinding for Kite ServiceAccount in stage clusters. This is required for Kite process requests like create or query issues and make available for team to use issues dashboard in Konflux UI. With this ClusterRole and ClusterRoleBinding we avoid ask for teams to create their RoleBindings for Kite. KFLUXUI-942
1 parent 440b117 commit 37e2a21

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
kind: ClusterRole
3+
apiVersion: rbac.authorization.k8s.io/v1
4+
metadata:
5+
name: konflux-kite-viewer-actions
6+
labels:
7+
konflux-cluster-role: "true"
8+
rules:
9+
- verbs:
10+
- get
11+
apiGroups:
12+
- ''
13+
resources:
14+
- pods
15+
---
16+
kind: ClusterRoleBinding
17+
apiVersion: rbac.authorization.k8s.io/v1
18+
metadata:
19+
name: konflux-kite-viewer-actions-role-binding
20+
subjects:
21+
- kind: ServiceAccount
22+
name: konflux-kite
23+
namespace: konflux-kite
24+
roleRef:
25+
kind: ClusterRole
26+
name: konflux-kite-viewer-actions
27+
apiGroup: rbac.authorization.k8s.io

0 commit comments

Comments
 (0)