Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/prometheus-stackdriver-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Stackdriver exporter for Prometheus
name: prometheus-stackdriver-exporter
version: 4.12.0
version: 4.13.0
appVersion: v0.18.0
home: https://www.stackdriver.com/
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ kind: ServiceMonitor
metadata:
name: {{ template "stackdriver-exporter.fullname" . }}
{{- if .Values.serviceMonitor.namespace }}
namespace: {{ .Values.serviceMonitor.namespace }}
{{- with .Values.serviceMonitor.namespace }}
namespace: {{ . }}
{{- end }}
labels:
{{- include "stackdriver-exporter.labels" . | indent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-stackdriver-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ serviceAccount:
# Enable this if you're using https://github.com/coreos/prometheus-operator
serviceMonitor:
enabled: false
namespace: monitoring
namespace: ""
# scrapeClass
scrapeClass:
# additionalLabels is the set of additional labels to add to the ServiceMonitor
Expand Down
Loading