diff --git a/pkg/config/config.go b/pkg/config/config.go index 6b005466e..2cad68b47 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -179,6 +179,7 @@ func NewConfig(v *viper.Viper, configPath string) (*KubehoundConfig, error) { // Configure default values SetDefaultValues(v) + // Loading inLine config path v.SetConfigType(DefaultConfigType) v.SetConfigFile(configPath)