Skip to content

Commit 7134926

Browse files
committed
expose metrics port in operator deployment
1 parent 1429a32 commit 7134926

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ spec:
9595
- containerPort: 9443
9696
name: webhook-server
9797
protocol: TCP
98+
- containerPort: {{ ( split ":" $.Values.metricsBindAddr)._1 | int }}
99+
name: metrics
100+
protocol: TCP
98101
{{- with .Values.resources.manager }}
99102
resources:
100103
{{- toYaml . | nindent 12 }}

0 commit comments

Comments
 (0)