mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03:00
Add "enable" to config help (#14866)
Most help sections were missing "enable", which means it is filtered out with `mc admin config get --json`. Add it where missing.
This commit is contained in:
@@ -73,6 +73,13 @@ var (
|
||||
}
|
||||
|
||||
HelpWebhook = config.HelpKVS{
|
||||
config.HelpKV{
|
||||
Key: config.Enable,
|
||||
Description: "set to 'on' to enable the audit logger",
|
||||
Optional: true,
|
||||
Type: "on|off",
|
||||
Sensitive: false,
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: Endpoint,
|
||||
Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/audit"`,
|
||||
@@ -115,6 +122,13 @@ var (
|
||||
}
|
||||
|
||||
HelpKafka = config.HelpKVS{
|
||||
config.HelpKV{
|
||||
Key: config.Enable,
|
||||
Description: "set to 'on' to enable kafka audit logging",
|
||||
Optional: true,
|
||||
Type: "on|off",
|
||||
Sensitive: false,
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: KafkaBrokers,
|
||||
Description: "comma separated list of Kafka broker addresses",
|
||||
|
||||
Reference in New Issue
Block a user