Add support for custom Minio storage class

This commit is contained in:
João Vitor Costa 2018-12-26 16:40:46 -02:00
parent c27ce0fef8
commit 3e6a1ada6a
1 changed files with 9 additions and 1 deletions

View File

@ -7,7 +7,7 @@ MINIO_VOLUMES="{{ minio_server_cluster_nodes | join(' ') }}"
MINIO_VOLUMES="{{ minio_server_datadirs | join(' ') }}"
{% endif %}
# Minio cli options.
MINIO_OPTS="--address {{ minio_server_addr }} {{ minio_server_opts }}"
MINIO_OPTS="{{ minio_server_opts }}"
{% if minio_access_key %}
# Access Key of the server.
@ -17,3 +17,11 @@ MINIO_ACCESS_KEY="{{ minio_access_key }}"
# Secret key of the server.
MINIO_SECRET_KEY="{{ minio_secret_key }}"
{% endif %}
{% if minio_storage_class_standard %}
MINIO_STORAGE_CLASS_STANDARD="{{ minio_storage_class_standard }}"
{% endif %}
{% if minio_storage_class_rrs %}
MINIO_STORAGE_CLASS_RRS="{{ minio_storage_class_rrs }}"
{% endif %}