Do not create ruler for dashboards when Grafana is not enabled
Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
parent
e7f28a261e
commit
d7063da3d4
@ -1,5 +1,5 @@
|
|||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.local.grafana.enabled }}
|
||||||
{{- if or (or .Values.dashboards.logs.enabled .Values.dashboards.metrics.enabled) .Values.dashboards.traces.enabled }}
|
{{- if and .Values.local.grafana.enabled (or .Values.dashboards.logs.enabled .Values.dashboards.metrics.enabled .Values.dashboards.traces.enabled) }}
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user