Skip to content

Commit 4a241b8

Browse files
authored
chore(operator): kube-rbac-proxy is no longer supported (#3048)
* chore(operator): kube-rbac-proxy is no longer supported * f
1 parent 057c007 commit 4a241b8

14 files changed

+0
-250
lines changed

operator/charts/embedded-cluster-operator/templates/embedded-cluster-operator-deployment.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,6 @@ spec:
2222
{{- toYaml . | nindent 8 }}
2323
{{- end }}
2424
containers:
25-
{{- if .Values.metrics.enabled }}
26-
- args:
27-
- --secure-listen-address=0.0.0.0:8443
28-
- --upstream=http://127.0.0.1:8080/
29-
- --logtostderr=true
30-
- --v=0
31-
image: {{ .Values.kubeProxyImage }}
32-
name: kube-rbac-proxy
33-
ports:
34-
- containerPort: 8443
35-
name: https
36-
protocol: TCP
37-
resources:
38-
limits:
39-
cpu: 500m
40-
memory: 128Mi
41-
requests:
42-
cpu: 5m
43-
memory: 64Mi
44-
securityContext:
45-
allowPrivilegeEscalation: false
46-
capabilities:
47-
drop:
48-
- ALL
49-
{{- end }}
5025
- args:
5126
- --health-probe-bind-address=:8081
5227
- --metrics-bind-address=127.0.0.1:8080

operator/charts/embedded-cluster-operator/templates/embedded-cluster-operator-metrics-reader-clusterrole.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

operator/charts/embedded-cluster-operator/templates/embedded-cluster-operator-metrics-service.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

operator/charts/embedded-cluster-operator/templates/embedded-cluster-operator-proxy-clusterrole.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

operator/charts/embedded-cluster-operator/templates/embedded-cluster-operator-proxy-rolebinding.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

operator/charts/embedded-cluster-operator/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ affinity:
6060
- key: node-role.kubernetes.io/control-plane
6161
operator: Exists
6262

63-
metrics:
64-
enabled: false
65-
kubeProxyImage: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
66-
6763
crds:
6864
enabled: true
6965

operator/charts/embedded-cluster-operator/values.yaml.tmpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ affinity:
5959
- key: node-role.kubernetes.io/control-plane
6060
operator: Exists
6161

62-
metrics:
63-
enabled: false
64-
kubeProxyImage: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
65-
6662
crds:
6763
enabled: true
6864

operator/config/default/kustomization.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ bases:
2424
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2525
#- ../prometheus
2626

27-
patchesStrategicMerge:
28-
# Protect the /metrics endpoint by putting it behind auth.
29-
# If you want your controller-manager to expose the /metrics
30-
# endpoint w/o any authn/z, please comment the following line.
31-
- manager_auth_proxy_patch.yaml
32-
3327

3428

3529
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in

operator/config/default/manager_auth_proxy_patch.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

operator/config/rbac/auth_proxy_client_clusterrole.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)