1
0
mirror of https://github.com/minio/mc.git synced 2025-09-17 18:42:12 +03:00

22 Commits

Author SHA1 Message Date
Shireesh Anjal
1e412f58a5 Remove logs feature from 'mc support callhome' (#5157)
Both the flags --logs and --diag are removed, and the command supports
only diagnostics callhome.
2025-03-06 08:30:58 -08:00
Aditya Manthramurthy
d4b7b00d73 Bump up minio/pkg to v3 (#4940) 2024-05-23 00:59:47 -07: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
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
Harshavardhana
04407b4199 print in tabular form for callhome status (#4588) 2023-06-03 08:09:50 -07:00
Harshavardhana
252421354c update functional tests for admin_users with 'policy commands' (#4508) 2023-03-19 20:49:16 -07:00
Aditya Manthramurthy
854b4f123f Bump up madmin-go to v2 (#4382) 2022-12-01 10:41:14 -08:00
Shireesh Anjal
024656ba05 Move support logs to admin logs (#4381) 2022-11-30 19:34:01 -08:00
Shireesh Anjal
c64833c018 Add commands to set, show and remove proxy (#4375) 2022-11-22 16:07:43 -08:00
Shireesh Anjal
dc9794cdb0 Restructure mc support callhome command (#4372) 2022-11-22 09:06:25 -08:00
Shireesh Anjal
e8afb9b135 Improve help text for support profile|perf (#4311) 2022-10-19 10:32:32 -07:00
Shireesh Anjal
e917b9513d error out from support commands if not registered (#4271) 2022-09-28 14:52:11 -07:00
Shireesh Anjal
a64491e101 Fix support callhome status command (#4222)
Because of recent changes in the way config is parsed in `mc`, we need
to pass `madmin.Default` as the target when looking for the callhome
config.
2022-08-28 13:08:11 -07:00
Shireesh Anjal
5afc2bdfad Add support status command (#4140)
Will print following information:

- Is the cluster registered
- Is pushing logs to SUBNET enabled
- Is pushing callhome info to SUBNET enabled
2022-07-01 11:20:35 -07:00
Shireesh Anjal
80ae287b02 Add commands to enable/disable callhome and logs (#4107)
- Remove the get/set options under `callhome`
- Move logs settings to a separate command (`mc support logs`)
- Provide toggle options (`enable, disable, status`) for both the
commands

In case of logs (`mc support logs enable|disable|status`),

`enable` configures minio to push logs to SUBNET in real-time by
configuring the webhook `logger_webhook:subnet`
`disable` disables the webhook
`status` displays whether it is enabled or disabled

In the case of call home (`mc support callhome enable|disable|status`),

`enable` configures minio to automatically push callhome info to SUBNET
every 24hrs by setting the config `callhome enable=on`
`disable` disables callhome by setting `enable=off`
`status` displays whether it is enabled or disabled
2022-06-15 09:14:52 -07:00
Shireesh Anjal
03e876aeaa Hide mc support callhome command (#4091)
As the functionality is not fully ready yet.
2022-05-23 09:58:29 -07:00
Shireesh Anjal
f4f5932d3f Add mc support callhome get command (#3986)
* Add `mc support callhome get` command

Will print all the callhome settings (currently just `logs=on|off`)

* Rename retrieveCallhomeSetting to printCallhomeSetting

As it doesn't need to return anything, and only prints the setting.
2022-02-21 15:47:31 -08:00
Shireesh Anjal
c7537a171f Improve descriptions of support commands (#3982) 2022-02-14 02:48:56 -08:00
Harshavardhana
c595efe440 fix: some inconsistencies in 'mc support' command 2022-02-13 15:21:46 -08:00
Shireesh Anjal
af7c550f26 Add command to configure callhome options (#3940) 2022-02-01 15:50:39 -08:00