From 858ee765a6e08b7c14c93a2844788e3144fc7abc Mon Sep 17 00:00:00 2001 From: odubajDT Date: Tue, 2 May 2023 08:40:39 +0200 Subject: [PATCH] chore(metrics-operator): restrict custom metrics ClusterRole proviledges Signed-off-by: odubajDT --- metrics-operator/config/metrics/role.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-operator/config/metrics/role.yaml b/metrics-operator/config/metrics/role.yaml index c293029159..dafe8e6af2 100644 --- a/metrics-operator/config/metrics/role.yaml +++ b/metrics-operator/config/metrics/role.yaml @@ -6,4 +6,4 @@ rules: - apiGroups: - custom.metrics.k8s.io resources: ["*"] - verbs: ["*"] + verbs: ["get", "list", "watch"]