---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: ovnkube
  namespace: default
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: ovnkube
rules:
  - apiGroups:
      - ""
      - networking.k8s.io
    resources:
      - pods
      - services
      - endpoints
      - namespaces
      - networkpolicies
      - nodes
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - ""
    resources:
      - nodes
      - pods
    verbs:
      - patch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: ovnkube
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: ovnkube
subjects:
- kind: ServiceAccount
  name: ovnkube
  namespace: default

Add a rbac for ovnkube.
vagrant: Add a rbac for ovnkube.

An upcoming commit will use it.

Signed-off-by: Gurucharan Shetty <a1872e333d0e52644f6125da2276530f7ebe5e77@ovn.org>
