Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions charts/s3proxy/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ data:
{{- if or .Values.config.backends.azureblob.endpoint .Values.config.backends.azureblob.account }}
jclouds.endpoint={{ .Values.config.backends.azureblob.endpoint | default (printf "https://%s.blob.core.windows.net" .Values.config.backends.azureblob.account) }}
{{- end }}
{{- if .Values.config.backends.azureblob.regions }}
# Required by the azureblob-sdk provider on real Azure to create buckets
# (otherwise "no jclouds.regions configured" -> InvalidLocationConstraint).
jclouds.regions={{ .Values.config.backends.azureblob.regions }}
{{- end }}
{{- if .Values.config.backends.azureblob.account }}
jclouds.identity={{ .Values.config.backends.azureblob.account }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/s3proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ config:
# -- (string) Azure endpoint
# @default -- `https://{{ .Values.config.backends.azureblob.account }}.blob.core.windows.net`
endpoint:
# -- jclouds region(s) for the backend, emitted as `jclouds.regions=`. The azureblob-sdk provider requires this on real Azure to create buckets (without it `aws s3 mb` fails with InvalidLocationConstraint / "no jclouds.regions configured"). Comma-separated for multiple. Not needed against Azurite. Leave empty to omit.
regions: ""
# -- SAS token configuration
sasToken:
# -- SAS token value
Expand Down
Loading