allow alloy to run in the same namespace it is monitoring and not require an entry for namespacesToMonitor
This commit is contained in:
parent
9a3d0b51d8
commit
bcac10ca74
@ -34,10 +34,6 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if empty .Values.namespacesToMonitor -}}
|
|
||||||
{{- fail "No namespaces have been specified in namespacesToMonitor" -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- if empty .Values.metrics.retain -}}
|
{{- if empty .Values.metrics.retain -}}
|
||||||
{{- fail "All metrics will be collected, please specify some in metrics.retain" -}}
|
{{- fail "All metrics will be collected, please specify some in metrics.retain" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# Specify the namespaces to monitor here
|
# Specify the namespaces to monitor here
|
||||||
namespacesToMonitor:
|
# By default the chart will monitor the namespace it is installed in
|
||||||
- loki
|
# namespacesToMonitor:
|
||||||
|
# - loki
|
||||||
# The name of the cluster where this will be installed
|
# The name of the cluster where this will be installed
|
||||||
clusterLabelValue: "meta"
|
clusterLabelValue: "meta"
|
||||||
# Set to true to write logs, metrics or traces to Grafana Cloud
|
# Set to true to write logs, metrics or traces to Grafana Cloud
|
||||||
|
Loading…
x
Reference in New Issue
Block a user