allow alloy to run in the same namespace it is monitoring and not require an entry for namespacesToMonitor

This commit is contained in:
Edward Welch
2024-10-25 19:45:27 +00:00
parent 9a3d0b51d8
commit bcac10ca74
2 changed files with 3 additions and 6 deletions

View File

@@ -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 -}}