forked from RemoteSync/grafana-meta-monitoring-chart
Add way to specify namespaces
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{{- define "agent.namespaces" -}}
|
||||
{{- $list := list }}
|
||||
{{- range .Values.namespacesToMonitor }}
|
||||
{{- $list = append $list (printf "\"%s\"" .) }}
|
||||
{{- end }}
|
||||
{{- join ", " $list }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user