Просмотр исходного кода

Added back storageClass config option

pull/3219/head
Michael Hollister 2 лет назад
Родитель
Сommit
227541d407
1 измененных файлов: 7 добавлений и 0 удалений
  1. +7
    -0
      roles/custom/matrix-media-repo/templates/media-repo/media-repo.yaml.j2

+ 7
- 0
roles/custom/matrix-media-repo/templates/media-repo/media-repo.yaml.j2 Просмотреть файл

@@ -229,6 +229,13 @@ datastores:
# some providers will need this (like Scaleway). Uncomment to use. # some providers will need this (like Scaleway). Uncomment to use.
#region: "sfo2" #region: "sfo2"
{% endif %} {% endif %}
{% if matrix_media_repo_datastore_s3_opts_storage_class is defined %}
storageClass: {{ matrix_media_repo_datastore_s3_opts_storage_class | to_json }}
{% else %}
# An optional storage class for tuning how the media is stored at s3.
# See https://aws.amazon.com/s3/storage-classes/ for details; uncomment to use.
#storageClass: STANDARD
{% endif %}
{% if matrix_media_repo_datastore_s3_opts_public_base_url is defined %} {% if matrix_media_repo_datastore_s3_opts_public_base_url is defined %}
publicBaseUrl: {{ matrix_media_repo_datastore_s3_opts_public_base_url | to_json }} publicBaseUrl: {{ matrix_media_repo_datastore_s3_opts_public_base_url | to_json }}
{% else %} {% else %}


Загрузка…
Отмена
Сохранить