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:
Klaus Post
2022-05-05 04:17:04 -07:00
committed by GitHub
parent c7df1ffc6f
commit 111745c564
4 changed files with 46 additions and 0 deletions
+14
View File
@@ -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",