Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / deploy / role_binding.yaml
index fab2338..e837cdb 100644 (file)
@@ -1,11 +1,12 @@
-kind: RoleBinding
+kind: ClusterRoleBinding
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: bpa-operator
 subjects:
 - kind: ServiceAccount
   name: bpa-operator
+  namespace: default
 roleRef:
-  kind: Role
+  kind: ClusterRole
   name: bpa-operator
   apiGroup: rbac.authorization.k8s.io