Skip to content

Conversation

@lukasgraf
Copy link
Contributor

The mc config command was deprecated for a while, and has finally been removed in the most recent version of the mc client: minio/mc#5201

So instead of mc config host add we should use mc alias set (according to MinIO Client docs)

This change should therefore prevent (at least one source of) headaches should we eventually want to upgrade the mc version in the docker-createbuckets Dockerfile in the future.


The most recent version of mc would fail like this for an attempt to use mc config:

createbuckets-1  | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.

The `mc config` command was deprecated for a while, and has finally been
removed in the most recent version of the `mc` client:
minio/mc#5201

This change should therefore prevent (at least one source of) headaches should
we want to upgrade the mc version in the docker-createbuckets Dockerfile in
the future.
@lukasgraf lukasgraf requested a review from suricactus May 26, 2025 15:03
Copy link
Collaborator

@suricactus suricactus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Have not tested myself, but the CI did.

@suricactus suricactus merged commit f012ff3 into master May 28, 2025
33 of 34 checks passed
@suricactus suricactus deleted the use-mc-alias-set branch May 28, 2025 10:00
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