Nikolai Rodionov 57712751f1
chore: mirror k8s-monitoring-2.0.12
upstream_repo:
2025-02-21 09:42:13 +01:00

26 lines
1.3 KiB
Plaintext

Grafana {{.Chart.Name}} Helm chart deployed!
This chart will install the following components:
{{- range $feature := (include "features.list.enabled" .) | fromYamlArray }}
{{- include (printf "feature.%s.notes.deployments" $feature) (dict "Values" (index $.Values $feature)) | indent 0 }}
{{- end }}
{{- include "collectors.notes.deployments" . }}
It will:
{{- range $feature := (include "features.list.enabled" .) | fromYamlArray }}
{{- if ne $feature "selfReporting" }}
{{- $task := include (printf "feature.%s.notes.task" $feature) (dict "Values" (index $.Values $feature)) | trim }}
{{- $destinations := include (printf "features.%s.destinations" $feature) $ | fromYamlArray }}
* {{ $task }} and send data to {{ include "english_list" $destinations }}.
{{- end }}
{{- end }}
{{- range $feature := (include "features.list.enabled" .) | fromYamlArray }}
{{- $collectorName := (index $.Values $feature).collector }}
{{- $Collector := dict "Namespace" $.Release.Namespace }}
{{- if $collectorName }}
{{- $Collector = merge $Collector (dict "ServiceName" (include "alloy.fullname" (index $.Subcharts $collectorName))) }}
{{- end }}
{{ include (printf "feature.%s.notes.actions" $feature) (dict "Values" (index $.Values $feature) "Collector" $Collector) | indent 0 }}
{{- end }}