We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33caa41 commit a7b4280Copy full SHA for a7b4280
2 files changed
deploy-ui/deploy.sh
@@ -46,6 +46,7 @@ function deploy_ui() {
46
render_file manifests/oauth-client.yaml
47
render_file manifests/service.yaml
48
render_file manifests/route.yaml
49
+ render_file manifests/clusterrolbinding.yaml
50
}
51
52
function verify_ui() {
deploy-ui/manifests/clusterrolbinding.yaml
@@ -0,0 +1,17 @@
1
+# Enable creating tokenreviews
2
+apiVersion: rbac.authorization.k8s.io/v1
3
+kind: ClusterRoleBinding
4
+metadata:
5
+ name: sa-default-rbac
6
+ labels:
7
+ app: ztpfw-ui
8
+roleRef:
9
+ kind: ClusterRole
10
+ apiGroup: rbac.authorization.k8s.io
11
+ name: system:auth-delegator
12
+subjects:
13
+- kind: ServiceAccount
14
+ # name: system:serviceaccount:ztpfw-ui:default
15
+ name: default
16
+ namespace: $UI_NS
17
+
0 commit comments