File tree Expand file tree Collapse file tree 4 files changed +21
-1
lines changed
Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222### Removed
2323### Fixed
2424### Security
25+ ---
26+ ## [ 3.0.1]
27+ ### Added
28+ - Allow adding extra selector labels in ServiceMonitor
29+ ### Changed
30+ ### Deprecated
31+ ### Removed
32+ ### Fixed
33+ ### Security
2534
2635[ Unreleased ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-3.0.0...HEAD
2736[ 3.0.0 ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-2.33.0...opensearch-3.0.0
37+ [ 3.0.1 ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-3.0.0...opensearch-3.0.1
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 3.0.0
18+ version : 3.0.1
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 1313 selector :
1414 matchLabels :
1515 {{- include "opensearch.selectorLabels" . | nindent 6 }}
16+ {{- with .Values.serviceMonitor.selectorLabels }}
17+ {{- toYaml . | nindent 6 }}
18+ {{- end }}
1619 endpoints :
1720 - port : {{ .Values.service.httpPortName | default "http" }}
1821 interval : {{ .Values.serviceMonitor.interval }}
Original file line number Diff line number Diff line change @@ -562,6 +562,13 @@ serviceMonitor:
562562 # k8s.example.com/prometheus: kube-prometheus
563563 labels : {}
564564
565+ # additional service selector labels to be added to the ServiceMonitor
566+ # (these could match extra .service.labels or .service.labelsHeadless
567+ # to prevent Prometheus from unnecessarily scraping each target twice)
568+ # selectorLabels:
569+ # prometheus.io/scrape: "true"
570+ selectorLabels : {}
571+
565572 # additional tlsConfig to be added to the ServiceMonitor
566573 tlsConfig : {}
567574
You can’t perform that action at this time.
0 commit comments