diff --git a/bitnami/influxdb/Chart.yaml b/bitnami/influxdb/Chart.yaml index 7b14d4ce2e..8900050a04 100644 --- a/bitnami/influxdb/Chart.yaml +++ b/bitnami/influxdb/Chart.yaml @@ -23,4 +23,4 @@ maintainers: name: influxdb sources: - https://github.com/bitnami/charts/tree/main/bitnami/influxdb -version: 5.6.2 +version: 5.7.0 diff --git a/bitnami/influxdb/README.md b/bitnami/influxdb/README.md index 94a423075e..aa948a5c93 100644 --- a/bitnami/influxdb/README.md +++ b/bitnami/influxdb/README.md @@ -236,6 +236,7 @@ The command removes all the Kubernetes components associated with the chart and | `metrics.serviceMonitor.scrapeTimeout` | Timeout after which the scrape is ended | `""` | | `metrics.serviceMonitor.relabelings` | RelabelConfigs to apply to samples before scraping | `[]` | | `metrics.serviceMonitor.metricRelabelings` | MetricRelabelConfigs to apply to samples before ingestion | `[]` | +| `metrics.serviceMonitor.labels` | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | `{}` | | `metrics.serviceMonitor.selector` | Prometheus instance selector labels | `{}` | | `metrics.serviceMonitor.honorLabels` | honorLabels chooses the metric's labels on collisions with target labels | `false` | | `networkPolicy.enabled` | Enable NetworkPolicy | `false` | diff --git a/bitnami/influxdb/templates/servicemonitor.yaml b/bitnami/influxdb/templates/servicemonitor.yaml index 04ccdfc187..1931c7c761 100644 --- a/bitnami/influxdb/templates/servicemonitor.yaml +++ b/bitnami/influxdb/templates/servicemonitor.yaml @@ -12,6 +12,9 @@ metadata: {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }} {{- end }} + {{- if .Values.metrics.serviceMonitor.labels }} + {{- include "common.tplvalues.render" (dict "value" .Values.metrics.serviceMonitor.labels "context" $) | nindent 4 }} + {{- end }} {{- if .Values.commonAnnotations }} annotations: {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }} {{- end }}