From ba8a93ba299d23fb5818ac819a5628b2910e9d19 Mon Sep 17 00:00:00 2001 From: Joel Watson Date: Fri, 3 May 2024 10:40:20 -0500 Subject: [PATCH] Remove kube-rbac-proxy dependency --- config/default/manager_auth_proxy_patch.yaml | 10 ---------- config/rbac/kustomization.yaml | 8 ++++---- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index b292e09..856cd4e 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -9,16 +9,6 @@ spec: template: spec: containers: - - name: kube-rbac-proxy - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1 - args: - - "--secure-listen-address=0.0.0.0:8443" - - "--upstream=http://127.0.0.1:8080/" - - "--logtostderr=true" - - "--v=10" - ports: - - containerPort: 8443 - name: https - name: manager args: - "--health-probe-bind-address=:8081" diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 731832a..fb5a2b8 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -12,7 +12,7 @@ resources: # Comment the following 4 lines if you want to disable # the auth proxy (https://github.com/brancz/kube-rbac-proxy) # which protects your /metrics endpoint. -- auth_proxy_service.yaml -- auth_proxy_role.yaml -- auth_proxy_role_binding.yaml -- auth_proxy_client_clusterrole.yaml +# - auth_proxy_service.yaml +# - auth_proxy_role.yaml +# - auth_proxy_role_binding.yaml +# - auth_proxy_client_clusterrole.yaml