Skip to content

Commit

Permalink
Adding -n flag to kube-burner init command as its familiar to the kub…
Browse files Browse the repository at this point in the history
…ectl flags (kube-burner#241)

Signed-off-by: Chinmay Khare <[email protected]>
  • Loading branch information
chinmaykhare authored Jan 18, 2023
1 parent 563bc92 commit b5bd9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kube-burner/kube-burner.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func initCmd() *cobra.Command {
cmd.Flags().DurationVarP(&timeout, "timeout", "", 4*time.Hour, "Benchmark timeout")
cmd.Flags().StringVarP(&configFile, "config", "c", "", "Config file path or URL")
cmd.Flags().StringVarP(&configMap, "configmap", "", "", "Configmap holding all the configuration: config.yml, metrics.yml and alerts.yml. metrics and alerts are optional")
cmd.Flags().StringVarP(&namespace, "namespace", "", "default", "Namespace where the configmap is")
cmd.Flags().StringVarP(&namespace, "namespace", "n", "default", "Namespace where the configmap is")
cmd.MarkFlagsMutuallyExclusive("config", "configmap")
cmd.Flags().SortFlags = false
return cmd
Expand Down

0 comments on commit b5bd9df

Please sign in to comment.