Add check to if anything is enabled
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
parent
67b13388a7
commit
116586e383
@ -19,3 +19,17 @@
|
|||||||
{{- fail "if cloud.traces is enabled then the endpoint, username and password have to be filled in" -}}
|
{{- fail "if cloud.traces is enabled then the endpoint, username and password have to be filled in" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if eq .Values.cloud.traces.enabled false -}}
|
||||||
|
{{- if eq .Values.cloud.metrics.enabled false -}}
|
||||||
|
{{- if eq .Values.cloud.logs.enabled false -}}
|
||||||
|
{{- if eq .Values.local.traces.enabled false -}}
|
||||||
|
{{- if eq .Values.local.metrics.enabled false -}}
|
||||||
|
{{- if eq .Values.local.logs.enabled false -}}
|
||||||
|
{{- fail "nothing has been enabled" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user