Skip to content

Commit 3b2d6a6

Browse files
[monitoring] Fix infra dashboards missing in default variant
The default variant deploys monitoring to the cozy-monitoring namespace, but the infra dashboards condition only checked for tenant-root. This adds cozy-monitoring to the condition, consistent with the existing pattern in vmagent.yaml. Fixes #2349 Signed-off-by: mattia-eleuteri <[email protected]> (cherry picked from commit b8d48ad)
1 parent ec480b0 commit 3b2d6a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/system/monitoring/templates/dashboards.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
url: http://grafana-dashboards.cozy-grafana-operator.svc/{{ . }}.json
1515
{{- end }}
1616
{{- end }}
17-
{{- if eq .Release.Namespace "tenant-root" }}
17+
{{- if or (eq .Release.Namespace "tenant-root") (eq .Release.Namespace "cozy-monitoring") }}
1818
{{- range (split "\n" (.Files.Get "dashboards-infra.list")) }}
1919
{{- $parts := split "/" . }}
2020
{{- if eq (len $parts) 2 }}

0 commit comments

Comments
 (0)