From 3ebab6f3931841f62ac59e6b09afef98db656c71 Mon Sep 17 00:00:00 2001 From: Pger-Y Date: Wed, 17 Jul 2024 04:48:27 +0800 Subject: [PATCH] feat(helm): Support alibabacloud oss in helm chart (#13441) --- production/helm/loki/templates/_helpers.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/production/helm/loki/templates/_helpers.tpl b/production/helm/loki/templates/_helpers.tpl index 58fc5c6cba80..8d4a0a9cb94e 100644 --- a/production/helm/loki/templates/_helpers.tpl +++ b/production/helm/loki/templates/_helpers.tpl @@ -297,6 +297,14 @@ azure: endpoint_suffix: {{ . }} {{- end }} {{- end -}} +{{- else if eq .Values.loki.storage.type "alibabacloud" -}} +{{- with .Values.loki.storage.alibabacloud }} +alibabacloud: + bucket: {{ $.Values.loki.storage.bucketNames.chunks }} + endpoint: {{ .endpoint }} + access_key_id: {{ .accessKeyId }} + secret_access_key: {{ .secretAccessKey }} +{{- end -}} {{- else if eq .Values.loki.storage.type "swift" -}} {{- with .Values.loki.storage.swift }} swift: