From f026c3604a84b5494912fa7d45aad96f2e0f3c98 Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Sun, 20 Oct 2024 03:02:42 +0300 Subject: [PATCH] Add networkpolicies permissions (#1631) Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com> --- helm-chart/templates/02-cluster-role.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/helm-chart/templates/02-cluster-role.yaml b/helm-chart/templates/02-cluster-role.yaml index 75a1dd195..07a68e91b 100644 --- a/helm-chart/templates/02-cluster-role.yaml +++ b/helm-chart/templates/02-cluster-role.yaml @@ -33,6 +33,17 @@ rules: - get resourceNames: - kube-system + - apiGroups: + - networking.k8s.io + resources: + - networkpolicies + verbs: + - get + - list + - watch + - create + - update + - delete --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role