Skip to content

Commit

Permalink
Allow to inject additional Minio server environment variables (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
atosatto authored Aug 20, 2018
1 parent 36eaf8b commit f4a2657
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ minio_server_cluster_nodes:
- ...
```

```yaml
minio_server_env_extra: ""
```

Additional environment variables to be set in Minio server environment

```yaml
minio_server_opts: ""
```
Expand Down
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ minio_server_make_datadirs: true
# Minio server cluster node list.
minio_server_cluster_nodes: [ ]

# Additional environment variables to be set in minio server environment
minio_server_env_extra: ""

# Additional minio server CLI options
minio_server_opts: ""

Expand Down
2 changes: 2 additions & 0 deletions templates/minio.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ MINIO_ACCESS_KEY="{{ minio_access_key }}"
# Secret key of the server.
MINIO_SECRET_KEY="{{ minio_secret_key }}"
{% endif %}

{{ minio_server_env_extra }}

0 comments on commit f4a2657

Please sign in to comment.