File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
### Fixed
15
15
### Security
16
16
---
17
+ ## [ 3.1.0]
18
+ ### Added
19
+ ### Changed
20
+ ### Deprecated
21
+ ### Removed
22
+ ### Fixed
23
+ - Allow adding extra selector labels in ServiceMonitor. See: [ Issue #673 ] ( https://github.com/opensearch-project/helm-charts/issues/673 )
24
+ ### Security
25
+ ---
17
26
## [ 3.0.0]
18
27
### Added
19
28
### Changed
@@ -23,5 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
32
### Fixed
24
33
### Security
25
34
26
- [ Unreleased ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-3.0.0...HEAD
35
+ [ Unreleased ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-3.1.0...HEAD
36
+ [ 3.1.0 ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-3.0.0...opensearch-3.1.0
27
37
[ 3.0.0 ] : https://github.com/opensearch-project/helm-charts/compare/opensearch-2.33.0...opensearch-3.0.0
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 3.0 .0
18
+ version : 3.1 .0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 13
13
selector :
14
14
matchLabels :
15
15
{{- include "opensearch.selectorLabels" . | nindent 6 }}
16
+ {{- with .Values.serviceMonitor.selectorLabels }}
17
+ {{- toYaml . | nindent 6 }}
18
+ {{- end }}
16
19
endpoints :
17
20
- port : {{ .Values.service.httpPortName | default "http" }}
18
21
interval : {{ .Values.serviceMonitor.interval }}
Original file line number Diff line number Diff line change @@ -562,6 +562,13 @@ serviceMonitor:
562
562
# k8s.example.com/prometheus: kube-prometheus
563
563
labels : {}
564
564
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
+
565
572
# additional tlsConfig to be added to the ServiceMonitor
566
573
tlsConfig : {}
567
574
You can’t perform that action at this time.
0 commit comments