Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment variables support to MinioAdmin #1100

Merged
merged 1 commit into from
May 24, 2021

Conversation

bo5o
Copy link
Contributor

@bo5o bo5o commented Mar 23, 2021

MinioAdmin now accepts another argument env which will be passed to the
underlying subprocess.run call. It can be used to set custom environments for
the mc admin subprocess, e.g. you could set MC_HOST_<alias> per MinioAdmin
instance.

`MinioAdmin` accepts another argument `env` which will be passed to the
underlying `subprocess.run` call. It can be used to set custom environments for
the `mc admin` subprocess, e.g. you could set `MC_HOST_<alias>` per `MinioAdmin`
instance.
@balamurugana balamurugana changed the title allow setting custom environment variables for mc admin subprocess Add environment variables support to MinioAdmin Mar 23, 2021
@harshavardhana harshavardhana merged commit 9766d9b into minio:master May 24, 2021
@bo5o bo5o deleted the allow-custom-env-in-mc-subprocess branch May 28, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants