Skip to content

Commit

Permalink
Remove config file flag.
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Reis <[email protected]>
  • Loading branch information
gargravarr committed Jan 17, 2024
1 parent 0b3b353 commit 2cccda6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/stackset-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@ var (
IngressSourceSwitchTTL time.Duration
ReconcileWorkers int
ConfigMapSupportEnabled bool
ConfigFile string
}
)

func main() {
kingpin.Flag("debug", "Enable debug logging.").BoolVar(&config.Debug)
kingpin.Flag(
"config-file", "Filename with StackSet configuration",
).StringVar(&config.ConfigFile)
kingpin.Flag("interval", "Interval between syncing stacksets.").
Default(defaultInterval).DurationVar(&config.Interval)
kingpin.Flag("apiserver", "API server url.").URLVar(&config.APIServer)
Expand Down

0 comments on commit 2cccda6

Please sign in to comment.