Skip to content

Commit

Permalink
Use dynamic pushgateway url (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Md. Emruz Hossain authored and tamalsaha committed Nov 21, 2018
1 parent bcf5926 commit 2029bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions root.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func NewRootCmd() *cobra.Command {
rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
// ref: https://github.com/kubernetes/kubernetes/issues/17162#issuecomment-225596212
flag.CommandLine.Parse([]string{})
rootCmd.PersistentFlags().StringVar(&util.ServiceName, "service-name", "stash-operator", "Stash service name.")
rootCmd.PersistentFlags().BoolVar(&util.EnableAnalytics, "enable-analytics", util.EnableAnalytics, "Send analytical events to Google Analytics")
rootCmd.PersistentFlags().BoolVar(&api.EnableStatusSubresource, "enable-status-subresource", api.EnableStatusSubresource, "If true, uses sub resource for crds.")

Expand Down

0 comments on commit 2029bf4

Please sign in to comment.