File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ appVersion: "v1.54.0"
77
88dependencies :
99 - name : reliability-metrics-ch-exporter
10- version : " 0.3.1 "
10+ version : " 0.3.2 "
1111 repository : " https://castai.github.io/helm-charts"
1212 condition : reliabilityMetrics.enabled
1313 alias : reliabilityMetrics
Original file line number Diff line number Diff line change @@ -236,10 +236,12 @@ Reliability metrics ClickHouse helpers (for subchart).
236236{{- end -}}
237237
238238{{- define " kvisor.reliabilityMetrics.clickhouse.database" -}}
239- {{- if (dig " external" " database" " " .Values.reliabilityMetrics ) -}}
240- {{ .Values.reliabilityMetrics.external.database }}
239+ {{- if and .Values.reliabilityMetrics.external .Values.reliabilityMetrics.external.enabled .Values.reliabilityMetrics.external.database -}}
240+ {{- .Values.reliabilityMetrics.external.database -}}
241+ {{- else if .Values.reliabilityMetrics.auth -}}
242+ {{- .Values.reliabilityMetrics.auth.database -}}
241243{{- else -}}
242- {{ dig " auth " " database " " metrics" .Values.reliabilityMetrics }}
244+ metrics
243245{{- end -}}
244246{{- end -}}
245247
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ clickhouse:
404404 enabled : false
405405
406406 auth :
407- database : " kvisor "
407+ database : " metrics "
408408 username : " kvisor"
409409 password : " kvisor"
410410
@@ -445,4 +445,4 @@ reliabilityMetrics:
445445 exporter :
446446 image :
447447 repository : us-docker.pkg.dev/castai-hub/library/reliability-metrics-ch-exporter
448- tag : " v0.3.1 "
448+ tag : " v0.3.2 "
You can’t perform that action at this time.
0 commit comments