Skip to content

Commit

Permalink
rpk: document --set flag in rpk container start
Browse files Browse the repository at this point in the history
This has always worked but it is hidden, we now
document it.

This is not needed but may be a good alternative
for testing config properties on start.
  • Loading branch information
r-vasquez committed May 8, 2024
1 parent f509e0b commit d17ba10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/go/rpk/pkg/cli/container/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ You can retry profile creation by running:
command.Flags().StringVar(&consoleImage, "console-image", common.DefaultConsoleImage(), "An arbitrary container Redpanda Console image to use")
command.Flags().BoolVar(&pull, "pull", false, "Force pull the container image used")
command.Flags().BoolVar(&noProfile, "no-profile", false, "If true, rpk will not create an rpk profile after creating a cluster")
command.Flags().String("set", "", "Redpanda configuration property to set on start. Follows 'rpk redpanda config set' format")
command.Flags().StringSliceVar(&kPorts, flagKafkaPorts, nil, "Kafka protocol ports to listen on; check help text for more information")
command.Flags().StringSliceVar(&aPorts, flagAdminPorts, nil, "Redpanda Admin API ports to listen on; check help text for more information")
command.Flags().StringSliceVar(&srPorts, flagSRPorts, nil, "Schema registry ports to listen on; check help text for more information")
Expand Down

0 comments on commit d17ba10

Please sign in to comment.