Skip to content

Commit

Permalink
Update deprecated targetPort to port in PodMonitor (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
marieroque authored Mar 6, 2024
1 parent dd41122 commit c82760e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update deprecated `targetPort` to `port` in PodMonitor.

## [0.5.0] - 2024-02-15

### Changed
Expand Down
2 changes: 1 addition & 1 deletion helm/object-storage-operator/templates/pod-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
matchLabels:
{{- include "labels.selector" . | nindent 6 }}
podMetricsEndpoints:
- targetPort: {{ default 14000 .Values.metricsPort }}
- port: {{ default 14000 .Values.metricsPort }}

0 comments on commit c82760e

Please sign in to comment.