Add check for empty list of namespaces to monitor
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
parent
116586e383
commit
a14b07239b
@ -33,3 +33,7 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if empty .Values.namespacesToMonitor -}}
|
||||||
|
{{- fail "No namespaces have been specified in namespacesToMonitor" -}}
|
||||||
|
{{- end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user