minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.86k stars 548 forks source link

Accept --license flag in `mc license register` #4795

Closed anjalshireesh closed 10 months ago

anjalshireesh commented 10 months ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 license] (https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

If passed,

Motivation and Context

As SUBNET has moved to account level licenses, it is possible to download license even before the cluster is registered. We'll now allow this license file to be used for registering clusters. This will simplify airgap mode registration as user will not have to come back and update the license on mc/minio side.

How to test this PR?

Types of changes

Checklist: