mark kalm-system default service account as cluster admin
@@ -23,17 +23,16 @@ subjects:
- kind: ServiceAccount
name: default
namespace: system
-#---
-#apiVersion: rbac.authorization.k8s.io/v1
-#kind: RoleBinding
-#metadata:
-# name: binding-editor-to-nsed-sa
-# namespace: test
-#roleRef:
-# apiGroup: rbac.authorization.k8s.io
-# kind: ClusterRole
-# name: editor
-#subjects:
-# - kind: ServiceAccount
-# name: default
-# namespace: system
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
+metadata:
+ name: kalm-system-default-service-account-as-cluster-admin
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: admin
+subjects:
+ - kind: ServiceAccount
+ name: default
+ namespace: system
