agent: Fix agent generate-config to accept namespace (#21297)

This commit is contained in:
Anton Averchenkov
2023-06-16 16:04:15 -04:00
committed by GitHub
parent 8b30657ddc
commit 3908ec9dc4
3 changed files with 6 additions and 1 deletions

View File

@@ -87,7 +87,8 @@ Usage: vault agent generate-config [options] [path/to/config.hcl]
}
func (c *AgentGenerateConfigCommand) Flags() *FlagSets {
set := NewFlagSets(c.UI)
// Include client-modifying flags (-address, -namespace, etc.)
set := c.flagSet(FlagSetHTTP)
// Common Options
f := set.NewFlagSet("Command Options")