Skip to content

Commit

Permalink
Adding flag
Browse files Browse the repository at this point in the history
Signed-off-by: kpharasi <[email protected]>
  • Loading branch information
kpharasi committed Dec 10, 2024
1 parent 9b81fc8 commit 71def9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admiral/cmd/admiral/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ func GetRootCmd(args []string) *cobra.Command {
rootCmd.PersistentFlags().Int64Var(&params.DefaultWarmupDurationSecs, "default_warmup_duration_in_seconds", 45, "The default value for the warmupDurationSecs to be used on Destination Rules created by admiral")

rootCmd.PersistentFlags().BoolVar(&params.EnableGenerationCheck, "enable_generation_check", true, "Enable/Disable Generation Check")
rootCmd.PersistentFlags().BoolVar(&params.EnableIsOnlyReplicaCountChangedCheck, "enable_replica_count_check", false, "Enable/Disable Replica Count Check")
rootCmd.PersistentFlags().BoolVar(&params.ClientInitiatedProcessingEnabled, "client_initiated_processing_enabled", true, "Enable/Disable Client Initiated Processing")
rootCmd.PersistentFlags().BoolVar(&params.PreventSplitBrain, "prevent_split_brain", true, "Enable/Disable Explicit Split Brain prevention logic")

Expand Down

0 comments on commit 71def9c

Please sign in to comment.