diff --git a/cmd/deployRunner.go b/cmd/deployRunner.go index caf53707a..61f7ae448 100644 --- a/cmd/deployRunner.go +++ b/cmd/deployRunner.go @@ -113,8 +113,6 @@ func getDeployConfig() *models.Config { WorkerResources: config.Config.Deploy.WorkerResources, ResourcesNamespace: config.Config.ResourcesNamespace, DatabasePath: models.DataDirPath, - ServiceMap: config.Config.ServiceMap, - OAS: config.Config.OAS, } return &conf diff --git a/config/configStruct.go b/config/configStruct.go index 578d4a225..0880f13e5 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -6,7 +6,6 @@ import ( "path" "path/filepath" - "github.com/kubeshark/base/pkg/models" "github.com/kubeshark/kubeshark/config/configStructs" "github.com/kubeshark/kubeshark/kubeshark" "github.com/rs/zerolog" @@ -68,8 +67,6 @@ type ConfigStruct struct { ConfigFilePath string `yaml:"config-path,omitempty" readonly:""` HeadlessMode bool `yaml:"headless" default:"false"` LogLevelStr string `yaml:"log-level,omitempty" default:"info" readonly:""` - ServiceMap bool `yaml:"service-map" default:"true"` - OAS models.OASConfig `yaml:"oas"` } func (config *ConfigStruct) validate() error { diff --git a/go.mod b/go.mod index 52b996110..3fd3ba079 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/creasty/defaults v1.5.2 github.com/docker/go-units v0.4.0 github.com/google/go-github/v37 v37.0.0 - github.com/kubeshark/base v0.1.3 + github.com/kubeshark/base v0.1.4 github.com/rs/zerolog v1.28.0 github.com/spf13/cobra v1.3.0 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index c2b91b4da..be5ca3e58 100644 --- a/go.sum +++ b/go.sum @@ -407,8 +407,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kubeshark/base v0.1.3 h1:VEiwMBMhl5q512WxpKIq3mtATMdQa8qZCMx7doD9Eug= -github.com/kubeshark/base v0.1.3/go.mod h1:65ju4+Mzl5eztP9ir2BUEOd1qhpOD7L0Zjj4PpZ2w6g= +github.com/kubeshark/base v0.1.4 h1:oUeHzrdQQDrDlXoVnvBnRTtC+cLsyGHyc42QGNgwHuU= +github.com/kubeshark/base v0.1.4/go.mod h1:65ju4+Mzl5eztP9ir2BUEOd1qhpOD7L0Zjj4PpZ2w6g= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc=