From cd79d30fb13c14d30ca0dbfe151ef256c3a20136 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 31 Jul 2024 11:21:09 -0700 Subject: [PATCH] give more permission to kindnet clusterrole --- pkg/minikube/cni/kindnet.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkg/minikube/cni/kindnet.go b/pkg/minikube/cni/kindnet.go index 1046864d84c3..21dc42973663 100644 --- a/pkg/minikube/cni/kindnet.go +++ b/pkg/minikube/cni/kindnet.go @@ -45,6 +45,8 @@ rules: - "" resources: - nodes + - namespaces + - pods verbs: - list - watch @@ -55,6 +57,14 @@ rules: - configmaps verbs: - get + - apiGroups: + - networking.k8s.io + resources: + - networkpolicies + verbs: + - get + - list + - watch --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1