From 8c730cd862f0590c69050d39018acc29f7d80ea6 Mon Sep 17 00:00:00 2001 From: LokiWager Date: Tue, 19 Sep 2023 16:20:19 +0800 Subject: [PATCH] Grant ingress resources. --- helm-charts/easegress/templates/ClusterRole.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm-charts/easegress/templates/ClusterRole.yaml b/helm-charts/easegress/templates/ClusterRole.yaml index 78b4acb71f..6a77fa3366 100644 --- a/helm-charts/easegress/templates/ClusterRole.yaml +++ b/helm-charts/easegress/templates/ClusterRole.yaml @@ -6,3 +6,6 @@ rules: - apiGroups: [""] # "" indicates the core API group resources: ["services", "endpoints", "secrets"] verbs: ["get", "watch", "list"] + - apiGroups: ["networking.k8s.io"] + resources: ["ingresses"] + verbs: ["get", "watch", "list"]