diff --git a/charts/prometheus-memcached-exporter/Chart.yaml b/charts/prometheus-memcached-exporter/Chart.yaml index ad5f153..9c0424e 100644 --- a/charts/prometheus-memcached-exporter/Chart.yaml +++ b/charts/prometheus-memcached-exporter/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/prometheus-memcached-exporter/templates/servicemonitor.yaml b/charts/prometheus-memcached-exporter/templates/servicemonitor.yaml index c6220e9..30e86b6 100644 --- a/charts/prometheus-memcached-exporter/templates/servicemonitor.yaml +++ b/charts/prometheus-memcached-exporter/templates/servicemonitor.yaml @@ -31,6 +31,9 @@ spec: relabelings: {{ toYaml .Values.serviceMonitor.relabelings | indent 4 }} {{- end }} + params: + target: + - "{{ .values.serviceMonitor.target }}" jobLabel: {{ template "prometheus-memcached-exporter.fullname" . }} namespaceSelector: matchNames: