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 -}}
|
||||
|
||||
{{- 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 -}}
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Specify the namespaces to monitor here
|
||||
namespacesToMonitor:
|
||||
- loki
|
||||
# By default the chart will monitor the namespace it is installed in
|
||||
# namespacesToMonitor:
|
||||
# - loki
|
||||
# The name of the cluster where this will be installed
|
||||
clusterLabelValue: "meta"
|
||||
# Set to true to write logs, metrics or traces to Grafana Cloud
|
||||
|
Loading…
x
Reference in New Issue
Block a user