Skip to content

Commit 5743b1d

Browse files
committed
feat: add cluster.general.monitoring.labels field to values.yaml
Signed-off-by: Jonathan Schwarze <[email protected]>
1 parent 7fdc6cf commit 5743b1d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/opensearch-cluster/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart for OpenSearch Cluster
44
type: application
55

66
## The opensearch-cluster Helm Chart version
7-
version: 3.1.0
7+
version: 3.1.1
88

99
## The operator version
1010
appVersion: 2.8.0

charts/opensearch-cluster/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ A Helm chart for OpenSearch Cluster
5050
| cluster.general.imagePullPolicy | string | `"IfNotPresent"` | Default image pull policy |
5151
| cluster.general.keystore | list | `[]` | Populate opensearch keystore before startup |
5252
| cluster.general.monitoring.enable | bool | `false` | Enable cluster monitoring |
53+
| cluster.general.monitoring.labels | object | `{}` | Additional labels to apply to the generated ServiceMonitor |
5354
| cluster.general.monitoring.monitoringUserSecret | string | `""` | Secret with 'username' and 'password' keys for monitoring user. You could also use OpenSearchUser CRD instead of setting it. |
5455
| cluster.general.monitoring.pluginUrl | string | `""` | Custom URL for the monitoring plugin |
5556
| cluster.general.monitoring.scrapeInterval | string | `"30s"` | How often to scrape metrics |

charts/opensearch-cluster/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ cluster:
6868
# -- Enable cluster monitoring
6969
enable: false
7070

71+
# -- Additional labels to apply to the generated ServiceMonitor
72+
labels: {}
73+
7174
# -- Secret with 'username' and 'password' keys for monitoring user. You could also use OpenSearchUser CRD instead of setting it.
7275
monitoringUserSecret: ""
7376

0 commit comments

Comments
 (0)