Skip to content

Commit 05dd214

Browse files
committed
remove metricsBindAddress flag from helmchart
1 parent 57fd624 commit 05dd214

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

hack/charts/cluster-api-operator/templates/deployment.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ spec:
6565
{{- if .Values.healthAddr }}
6666
- --health-addr={{ .Values.healthAddr }}
6767
{{- end }}
68-
{{- if .Values.metricsBindAddr }}
69-
- --metrics-bind-addr={{ .Values.metricsBindAddr }}
70-
{{- end }}
7168
{{- if .Values.diagnosticsAddress }}
7269
- --diagnostics-address={{ .Values.diagnosticsAddress }}
7370
{{- end }}
@@ -100,9 +97,6 @@ spec:
10097
- containerPort: 9443
10198
name: webhook-server
10299
protocol: TCP
103-
- containerPort: {{ ( split ":" $.Values.metricsBindAddr)._1 | int }}
104-
name: metrics
105-
protocol: TCP
106100
{{- with .Values.resources.manager }}
107101
resources:
108102
{{- toYaml . | nindent 12 }}

hack/charts/cluster-api-operator/values.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ image:
2424
env:
2525
manager: []
2626
healthAddr: ":8081"
27-
metricsBindAddr: "127.0.0.1:8080"
2827
diagnosticsAddress: "8443"
2928
insecureDiagnostics: false
3029
watchConfigSecret: false

0 commit comments

Comments
 (0)