Skip to content

Commit

Permalink
expose metrics port in operator deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxFedotov committed Apr 16, 2024
1 parent 1429a32 commit 7134926
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/charts/cluster-api-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
- containerPort: {{ ( split ":" $.Values.metricsBindAddr)._1 | int }}
name: metrics
protocol: TCP
{{- with .Values.resources.manager }}
resources:
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit 7134926

Please sign in to comment.