rbac: Remove indentation
-apiVersion: v1
-kind: List
-items:
- - apiVersion: v1
- kind: ServiceAccount
- metadata:
- name: kubevirt
- namespace: default
- labels:
- name: kubevirt
- - apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: kubevirt
@@ -48,7 +38,22 @@ items:
- update
- create
- deletecollection
- - apiVersion: rbac.authorization.k8s.io/v1beta1
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: kubevirt
+ labels:
+ name: kubevirt
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: kubevirt-admin
+ labels:
+ name: kubevirt-admin
+---
+apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: kubevirt
@@ -62,14 +67,8 @@ items:
- kind: ServiceAccount
name: kubevirt
namespace: default
- - apiVersion: v1
- kind: ServiceAccount
- metadata:
- name: kubevirt-admin
- namespace: default
- labels:
- name: kubevirt-admin
- - apiVersion: rbac.authorization.k8s.io/v1beta1
+---
+apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: kubevirt-admin
