Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -07:00
Shireesh Anjal
206d017878
Expose health diagnostics related functions ( #4885 )
...
So that dependent projects (e.g. console) can make use of them instead
of duplicating the logic.
2024-03-30 08:28:09 -07:00
Shireesh Anjal
daf5b18e18
Add command for uploading file to SUBNET issue ( #4854 )
...
mc support upload --issue <issueNum> --comment <msg> <alias> </path/to/file>
Will upload the given file to the given SUBNET issue
2024-03-06 16:29:26 -08:00
Shireesh Anjal
66daa906eb
mc support commands: allow --json in online mode ( #4859 )
...
There was a validation that said `--json` is supported only when
`--airgap` is also passed for SUBNET related `mc support` commands.
Remove this validation to allow `--json` to be passed even in online
mode. In this scenario, print a status JSON after upload to SUBNET.
2024-03-02 11:55:14 -08:00
Harshavardhana
1466ae7b50
fix missing space while printing profile success message ( #4845 )
2024-02-14 13:18:56 -08:00
Shireesh Anjal
fb5dd2588c
Accept --license flag in mc license register ( #4795 )
...
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)
2023-12-20 00:45:13 -08:00
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
Harshavardhana
1fbd97aa04
run gofumpt -extra on all source files ( #4634 )
2023-07-17 13:10:20 -07:00
Shireesh Anjal
e8f049cbb1
Ensure --airgap is available on all support commands ( #4633 )
...
- remove deprecated and unused flags from `support diag`
- add missing registration check-in
- call home status
- proxy set|show|remove
2023-07-17 09:02:50 -07:00
Harshavardhana
0ed2956757
improve user messaging in 'support perf' and 'mc rm --dry-run' ( #4617 )
...
- terminal messaging for 'mc rm --dry-run' was completely
wrong, it was using `fmt.Println` which shouldn't be done.
- mc support perf - printing was using a mix of color.New()
and console.Infoln() (use one)
- mc support profile - printing was using a mix of color.New()
and console.Info() (use one)
- mc support inspect - printing was using a mix of color.New()
and consoleInfo() (use one)
2023-06-26 09:20:51 -07:00
Aditya Manthramurthy
5f39522e69
Add response details for policy attach/detach cmd ( #4602 )
...
For internal IDP.
Also updates madmin-go to v3 as part of this change
- Temporarily disable test_admin_users until minio side fix is merged
2023-06-19 12:31:19 -07:00
Anis Eleuch
aefb1db4db
Load Subnet proxy and API key from the env if found ( #4557 )
2023-05-09 10:11:27 -07:00
Harshavardhana
252421354c
update functional tests for admin_users with 'policy commands' ( #4508 )
2023-03-19 20:49:16 -07:00
Harshavardhana
34a67cb169
cleanup mc to use 'go' errs to be 'e' ( #4450 )
2023-01-24 02:03:57 -08:00
Shireesh Anjal
cc1606ff5c
Improve message when profile upload fails ( #4443 )
2023-01-14 05:09:44 +05:30
Klaus Post
52a931bfa7
Add staticcheck to CI ( #4386 )
2022-12-05 08:32:04 -08:00
Aditya Manthramurthy
854b4f123f
Bump up madmin-go to v2 ( #4382 )
2022-12-01 10:41:14 -08:00
adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
Harshavardhana
cf7e0ae050
generalize input for ctx.Command.Name ( #4338 )
2022-11-01 08:04:26 -07:00
Shireesh Anjal
e8afb9b135
Improve help text for support profile|perf ( #4311 )
2022-10-19 10:32:32 -07:00
Shireesh Anjal
81c04723f9
Print license info table with solid lines ( #4301 )
2022-10-17 09:44:34 -07:00
Shireesh Anjal
e917b9513d
error out from support commands if not registered ( #4271 )
2022-09-28 14:52:11 -07:00
Anis Elleuch
f85086b153
Use a pager for help output ( #4245 )
2022-09-28 11:28:02 -07:00
Harshavardhana
2f08ccf0d5
avoid expensive threads profile by default ( #4270 )
2022-09-28 00:45:26 -07:00
Shireesh Anjal
ba5f9ac373
Upload results of perf tests to SUBNET ( #4254 )
2022-09-27 02:56:43 -07:00
Shireesh Anjal
cdb6b179d3
Upload profile zip to SUBNET ( #4226 )
...
When the `--airgap` flag is not passed, the generated profile zip will
be uploaded to SUBNET.
2022-09-15 22:18:14 -07:00
Harshavardhana
5cd7ff8876
cleanup commands to use Go 'err' as 'e' ( #4232 )
...
many commands seem to have sort of had
stopped following the expected convention
in `mc` to differentiate *probe.Error.
To keep things readable this PR is the
first attempt at such a cleanup.
2022-09-06 08:03:25 -07:00
Harshavardhana
30fd595df6
cleanup print message for 'support profile' ( #4099 )
...
use single logging style, we do not use
`go` logger in `mc` avoid it.
2022-05-30 06:24:31 -07:00
Ashish Kumar Sinha
aa60a8db1e
modify support profile command ( #4061 )
2022-05-12 06:43:21 -07:00
Shireesh Anjal
c7537a171f
Improve descriptions of support commands ( #3982 )
2022-02-14 02:48:56 -08:00
Shireesh Anjal
ab2bce93ea
Move admin profile to support profile ( #3972 )
...
As part of reorganization of support related commands
2022-02-13 16:08:52 -08:00