Skip to content

Commit f3f973d

Browse files
Pger-Yyuanjingwei
authored and
yuanjingwei
committed
support alicoud oss as storage in helm template
1 parent 7c86e65 commit f3f973d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

production/helm/loki/templates/_helpers.tpl

+8
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,14 @@ azure:
297297
endpoint_suffix: {{ . }}
298298
{{- end }}
299299
{{- end -}}
300+
{{- else if eq .Values.loki.storage.type "alibabacloud" -}}
301+
{{- with .Values.loki.storage.alibabacloud }}
302+
alibabacloud:
303+
bucket: {{ $.Values.loki.storage.bucketNames.chunks }}
304+
endpoint: {{ .endpoint }}
305+
access_key_id: {{ .accessKeyId }}
306+
secret_access_key: {{ .secretAccessKey }}
307+
{{- end -}}
300308
{{- else if eq .Values.loki.storage.type "swift" -}}
301309
{{- with .Values.loki.storage.swift }}
302310
swift:

0 commit comments

Comments
 (0)