Skip to content

Commit 2ff3d69

Browse files
authored
🧹chore: Bump kube-rbac-proxy image version to v0.16.0 (#1457)
1 parent b2fa203 commit 2ff3d69

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

config/default/kustomization.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ bases:
3030
#- ../prometheus
3131

3232
patchesStrategicMerge:
33-
# Protect the /metrics endpoint by putting it behind auth.
34-
# If you want your controller-manager to expose the /metrics
35-
# endpoint w/o any authn/z, please comment the following line.
33+
# Uncomment the following line to protect the /metrics endpoint with kube-rbac-proxy.
3634
# - manager_auth_proxy_patch.yaml
3735

38-
# Don't protect the /metrics endpoint and just allow
39-
# Prometheus to directly scrape over http.
4036
- manager_public_metrics_patch.yaml
4137

4238
# Mount the controller config file for loading manager configurations

config/default/manager_auth_proxy_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
spec:
1414
containers:
1515
- name: kube-rbac-proxy
16-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
16+
image: registry.k8s.io/kubebuilder/kube-rbac-proxy:v0.16.0
1717
args:
1818
- "--secure-listen-address=0.0.0.0:8443"
1919
- "--upstream=http://127.0.0.1:8080/"

config/rbac/kustomization.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ resources:
1212
- role_binding.yaml
1313
- leader_election_role.yaml
1414
- leader_election_role_binding.yaml
15-
# Comment the following 4 lines if you want to disable
16-
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
17-
# which protects your /metrics endpoint.
15+
# Uncomment the following 4 lines to enable the kube-rbac-proxy auth proxy.
1816
#- auth_proxy_service.yaml
1917
#- auth_proxy_role.yaml
2018
#- auth_proxy_role_binding.yaml

0 commit comments

Comments
 (0)