2121{{- $collectors := include "operatorCrs" . | fromJsonArray }}
2222Following components were installed:
2323{{- if .Values.deployScaler }}
24- - KEDA-OTel add-on ✓
24+ ✓ KEDA-OTel add-on - 🐿
2525{{- end }}
2626{{- if .Values.otelOperator.enabled }}
27- - OTel Operator ✓
27+ ✓ OTel Operator - 🦑
2828{{- end }}
2929{{- range $collectors }}
30- - OTel Collector with name '{{ .name | default $.Release.Name }}' (using the operator) ✓
30+ ✓ OTel Collector with name '{{ .name | default $.Release.Name }}' (using the operator) -
31+ {{- if .targetAllocatorEnabled -}}
32+ {{- printf " target allocator mode watching Prom's CRs 🎯" -}}
33+ {{- else -}}
34+ {{- printf " 🚀" -}}
35+ {{- end -}}
3136{{- end }}
3237{{- if .Values.otelCollector.enabled }}
33- - OTel Collector (using the helm chart) ✓
34- {{- $collectors = append $collectors .Values.otelCollector -}}
38+ ✓ OTel Collector (using the helm chart) - 👷
39+ {{- $collectors = append $collectors (mergeOverwrite .Values.otelCollector (dict "helm" true)) -}}
3540{{- end }}
3641
3742Architecture:
43+ {{- $char := "" -}}
44+ {{- $m := "" -}}
45+ {{- if .Values.otelOperator.enabled }}
46+ ┏━━━━┓
47+ ┃ 🦑 ┃
48+ ╭╄┯┯┯┯╃╮
49+
50+ {{- end }}
3851{{- printf "\n" -}}
3952{{- if $collectors }}
4053{{- range $collectors }}
4154{{- printf " ┌──────────────┐ " -}}
4255{{- end }}
4356{{- printf "\n" -}}
4457{{- range $collectors }}
45- {{- printf " │ 🚀 │ " -}}
58+ {{- $char = "🚀" -}}
59+ {{- if .helm -}}
60+ {{- $char = "👷" -}}
61+ {{- end -}}
62+ {{- if .targetAllocatorEnabled -}}
63+ {{- $char = "🎯" -}}
64+ {{- end -}}
65+ {{- printf " │ %s │ " $char -}}
4666{{- end }}
4767{{- printf "\n" -}}
4868{{- range $collectors }}
49- {{- printf " │ %-13s│ " ((.name | default "byHelmChart" ) | trunc 11) -}}
69+ {{- printf " │ %-13s│ " ((.name | default $.Release.Name ) | trunc 11) -}}
5070{{- end }}
5171{{- printf " (Collectors)" -}}
5272{{- printf "\n" -}}
5373{{- range $collectors }}
54- {{- printf " │ %-13s│ " (printf "(%s)" (.mode | trunc 11)) -}}
74+ {{- $m = .mode -}}
75+ {{- if and .targetAllocatorEnabled (eq .mode "sidecar") -}}
76+ {{- $m = "statefulset" -}}
77+ {{- end -}}
78+ {{- printf " │ %-13s│ " (printf "•%s" ($m | trunc 11)) -}}
5579{{- end }}
5680{{- printf "\n" -}}
5781{{- range $collectors }}
@@ -72,12 +96,15 @@ Architecture:
7296{{- if and .Values.deployScaler $collectors }}
7397{{- printf " ╵ \n ╵ \n ╵ " -}}
7498{{- end }}
99+ {{- else }}
100+ (No collectors yet)
101+
75102{{- end }}
76103
77104{{- if .Values.deployScaler }}
78- {{- printf " ╭──────────────────╮ ╭╸╸╸╸╸╸ ╮\n" -}}
105+ {{- printf " ╭───────────────────── ╮ ╭╶╶╶╶╶╶ ╮\n" -}}
79106{{- if $collectors -}}{{- printf " └╴╴→" -}}{{- end -}}
80- {{- printf " │ KEDA OTel Scaler │ ←╴╴╴╴╴→ ┆ KEDA ┆ \n" -}}
107+ {{- printf " │ KEDA OTel Scaler 🐿 │ ←╴╴╴╴╴→ │ KEDA │ \n" -}}
81108{{- if $collectors -}}{{- printf " " -}}{{- end -}}
82- {{- printf " ╰──────────────────╯ ╰╸╸╸╸╸╸ ╯\n" -}}
109+ {{- printf " ╰───────────────────── ╯ ╰╶╶╶╶╶╶ ╯\n" -}}
83110{{- end }}
0 commit comments