Skip to content

Commit

Permalink
support alicoud oss as storage in helm template
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanjingwei committed Jul 8, 2024
1 parent 7c86e65 commit 42ad4b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions production/helm/loki/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 42ad4b9

Please sign in to comment.