From e5ee2452e6dd882638a301f4e9c8ace78341a96d Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Thu, 25 Apr 2024 11:44:40 -0500 Subject: [PATCH] Add Pods and EndpointSlices permissions to operator CR Signed-off-by: Joonas Bergius --- .../wasmcloud-operator/templates/cluster-role.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/charts/wasmcloud-operator/templates/cluster-role.yaml b/charts/wasmcloud-operator/templates/cluster-role.yaml index 94c55b2..fcf8afd 100644 --- a/charts/wasmcloud-operator/templates/cluster-role.yaml +++ b/charts/wasmcloud-operator/templates/cluster-role.yaml @@ -12,6 +12,7 @@ rules: - services - configmaps - serviceaccounts + - pods verbs: - get - list @@ -67,6 +68,17 @@ rules: - list - patch - update + - apiGroups: + - discovery.k8s.io + resources: + - endpointslices + verbs: + - create + - delete + - get + - list + - patch + - update - apiGroups: - k8s.wasmcloud.dev resources: