From 46799f66654d47fabbee39611204b9bf03855b7e Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Mon, 7 Aug 2023 19:59:16 +0300 Subject: [PATCH] Revert ":zap: Let the user `system:anonymous` access the `services/proxy` resource" This reverts commit acaa29f8eb6c9dfdb143267e4cf341ff2aa1b339. --- helm-chart/templates/02-cluster-role.yaml | 1 - helm-chart/templates/03-cluster-role-binding.yaml | 2 -- 2 files changed, 3 deletions(-) diff --git a/helm-chart/templates/02-cluster-role.yaml b/helm-chart/templates/02-cluster-role.yaml index 01c077c33..c8bc89d73 100644 --- a/helm-chart/templates/02-cluster-role.yaml +++ b/helm-chart/templates/02-cluster-role.yaml @@ -22,7 +22,6 @@ rules: resources: - pods - services - - services/proxy - endpoints - persistentvolumeclaims - ingresses diff --git a/helm-chart/templates/03-cluster-role-binding.yaml b/helm-chart/templates/03-cluster-role-binding.yaml index 465f71692..8f32f6a75 100644 --- a/helm-chart/templates/03-cluster-role-binding.yaml +++ b/helm-chart/templates/03-cluster-role-binding.yaml @@ -21,5 +21,3 @@ subjects: - kind: ServiceAccount name: kubeshark-service-account namespace: {{ .Release.Namespace }} - - kind: User - name: system:anonymous