apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: etcd-operator roleRef: name: etcd-operator kind: ClusterRole apiGroup: rbac.authorization.k8s.io subjects: - name: etcd-operator namespace: etcd-operator kind: ServiceAccount --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: etcd-operator namespace: etcd-operator roleRef: name: etcd-operator kind: Role apiGroup: rbac.authorization.k8s.io subjects: - name: etcd-operator namespace: etcd-operator kind: ServiceAccount --- ## TODO: Remove this RoleBinding when removing tigera-operator node affinity change apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: etcd-operator namespace: tigera-operator roleRef: name: etcd-operator kind: Role apiGroup: rbac.authorization.k8s.io subjects: - name: etcd-operator namespace: etcd-operator kind: ServiceAccount