From 5db3e2dca7adc27ee9147d09703fa12c0015a943 Mon Sep 17 00:00:00 2001 From: Vishal Thapar <5137689+vthapar@users.noreply.github.com> Date: Mon, 20 Jul 2020 20:24:56 +0530 Subject: [PATCH] Allow lighthouse access to gateways.submariner.io Adds following permissions to lighthouse clusterrole for `gateways.submariner.io` - get - list - watch This allows lighthouse to track changes to gateway status and know which clusters are connected. Fixes https://github.com/submariner-io/lighthouse/issues/113 Signed-off-by: Vishal Thapar <5137689+vthapar@users.noreply.github.com> --- deploy/lighthouse/cluster_role.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/lighthouse/cluster_role.yaml b/deploy/lighthouse/cluster_role.yaml index 1908c1a21..1b4a4f0f9 100644 --- a/deploy/lighthouse/cluster_role.yaml +++ b/deploy/lighthouse/cluster_role.yaml @@ -25,3 +25,11 @@ rules: - watch - update - delete +- apiGroups: + - submariner.io + resources: + - "gateways" + verbs: + - get + - list + - watch