diff --git a/submariner-operator/templates/rbac.yaml b/submariner-operator/templates/rbac.yaml index c79a627..7d063ec 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -661,34 +661,19 @@ kind: ClusterRole metadata: name: {{ template "submariner.fullname" . }}:lighthouse-coredns rules: - - apiGroups: - - "" - resources: - - services - - namespaces - - endpoints - verbs: - - get - - list - - watch - - update - apiGroups: - discovery.k8s.io resources: - endpointslices verbs: - - create - get - list - watch - - update - - delete - - deletecollection - apiGroups: - submariner.io resources: - - "gateways" - - "submariners" + - gateways + - submariners verbs: - get - list @@ -696,14 +681,11 @@ rules: - apiGroups: - multicluster.x-k8s.io resources: - - "*" + - serviceimports verbs: - - create - get - list - watch - - update - - delete --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding