From fce511bb1821773695c8fb8ca89bed56a8ab11cb Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Fri, 26 May 2023 13:25:56 +0100 Subject: [PATCH] Add permission to list endpoints This is to find all replicas --- helm/flowforge/templates/service-account.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/flowforge/templates/service-account.yaml b/helm/flowforge/templates/service-account.yaml index d455f68a..2b244db4 100644 --- a/helm/flowforge/templates/service-account.yaml +++ b/helm/flowforge/templates/service-account.yaml @@ -27,6 +27,9 @@ rules: - apiGroups: [""] resources: ["services"] verbs: ["create", "patch", "get", "list", "watch", "delete"] +- apiGroups: [""] + resources: ["endpoints"] + verbs: ["get", "list"] - apiGroups: ["networking.k8s.io"] resources: ["ingresses"] verbs: ["create", "patch", "get", "list", "watch", "delete"]