If passed,
- validate and save it immediately in the subnet config
- extract API key from it and use it for online registration with SUBNET
(if `--airgap` is not passed)
- in case online registration with SUBNET fails for any reason, fallback
to airgap mode (show URL to be visited on SUBNET)
Also fixes errors potentially being swallowed by filtering.
Fixes#4773
```
λ go build&&mc cp s3/default/1.mp4 1.mp4
mc: <ERROR> Unable to prepare URL for copying. Unable to guess the type of copy operation.
λ echo %errorlevel%
1
λ _
```
Some users are confused about the 'Capacity' wording and think this is
about the objects usage, not disk usage; Change the wording to make this
is more clear.
Add new flags to `mc ilm tier add` command to support Azure storage
authentication using a service principal account:
--az-sp-tenant-id
--az-sp-client-id
--az-sp-client-secret
currently STS specific behavior is global,
`mc` however supports multiple aliases - we
need to make sure that `mc` treats this ENV
specific to an alias.
SUBNET is being enhanced to generate account-level licenses instead of
deployment-level. So newer licenses may not contain the deployment id.
So validate the deployment id against the cluster only if present in the
license.
The current spinner mechanism looks for the data categories (CPU,
drives, memory, etc) sequentially. If any of the category's data is not
received, it gets stuck there.
If a new data category is introduced without changing the version of the
HealthInfo struct, then `mc support diag` can get stuck for the new
category when talking to an older version of minio.
So instead of looking for the categories one by one, start a spinner for
each category at the beginning, and mark it as done as soon as the
corresponding data is received. When the last category (admin info) is
received, mark any pending category as done so that the command
continues with the rest of the processing.
This commit replaces the UBI minimal with the
small and less bloated UBI micro image.
This reduces noise from security scanners flagging
components not used by mc and reduces the overall
size of the container.
Signed-off-by: Andreas Auernhammer <github@aead.dev>
also change the UI to match a k8s'isk style
output.
```
mc admin trace play/ --stats
Duration: 12s ●∙∙
Call Count RPM Avg Time Min Time Max Time Errors RX Avg TX Avg
s3.GetBucketLocation 22 (48.9%) 107.8 431µs 205.196µs 1.360389ms 0 135 B 137 B
s3.ListObjectsV2 22 (48.9%) 107.8 1.615ms 520.96µs 6.821432ms 0 135 B 2.3 KiB
s3.ListBuckets 1 (2.2%) 4.9 2.302ms 2.301694ms 2.301694ms 0 135 B 29 KiB
```