forked from RemoteSync/grafana-meta-monitoring-chart
Filter out metrics not in list
Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
@@ -37,3 +37,7 @@
|
||||
{{- if empty .Values.namespacesToMonitor -}}
|
||||
{{- fail "No namespaces have been specified in namespacesToMonitor" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if empty .Values.metrics.retain -}}
|
||||
{{- fail "All metrics will be collected, please specify some in metrics.retain" -}}
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user