diff --git a/cmd/controller/cmd/root.go b/cmd/controller/cmd/root.go index 2bebc269b..ba05fcb3e 100644 --- a/cmd/controller/cmd/root.go +++ b/cmd/controller/cmd/root.go @@ -89,7 +89,7 @@ func init() { func initConfig(cmd *cobra.Command, _ []string) error { configAccessor = viper.NewAccessor(config.Options{ - StrictMode: false, + StrictMode: true, SearchPaths: []string{cfgFile}, }) diff --git a/cmd/manager/cmd/root.go b/cmd/manager/cmd/root.go index fc3da4af6..0aa2c2fb0 100644 --- a/cmd/manager/cmd/root.go +++ b/cmd/manager/cmd/root.go @@ -118,7 +118,7 @@ func init() { func initConfig(cmd *cobra.Command, _ []string) error { configAccessor = viper.NewAccessor(config.Options{ - StrictMode: false, + StrictMode: true, SearchPaths: []string{cfgFile}, })