Skip to content

Commit

Permalink
add viper env enable-cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarreira committed May 18, 2022
1 parent 2f7de88 commit 377596c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func Init() error {
viper.SetDefault("websocket-ping-interval", 2*time.Second)
viper.SetDefault("websocket-max-idle-time", 60*time.Second)
viper.SetDefault("websocket-write-wait", time.Second)
viper.SetDefault("enable-cert-manager", false)
viper.AutomaticEnv()
err := readConfig()
if err != nil {
Expand Down

0 comments on commit 377596c

Please sign in to comment.