Skip to content

Commit

Permalink
fix: Multiple targets are now created as differently named ServiceMon…
Browse files Browse the repository at this point in the history
…itors. (#2328)

Signed-off-by: Felix <mail@freichert.de>

Co-authored-by: Felix <mail@freichert.de>
  • Loading branch information
fhreichert and Felix committed Jul 31, 2022
1 parent 7960939 commit 44c91be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-json-exporter/Chart.yaml
Expand Up @@ -19,7 +19,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.2.2
version: 0.2.3

# 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
Expand Down
Expand Up @@ -4,7 +4,7 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "prometheus-json-exporter.fullname" $ }}
name: {{ template "prometheus-json-exporter.fullname" $ }}-{{ .name }}
{{- if $.Values.serviceMonitor.namespace }}
namespace: {{ $.Values.serviceMonitor.namespace }}
{{- end }}
Expand Down

0 comments on commit 44c91be

Please sign in to comment.