diff --git a/config/configStruct.go b/config/configStruct.go index eec2fa07c..97b42fa0a 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -16,9 +16,6 @@ const ( func CreateDefaultConfig() ConfigStruct { return ConfigStruct{ Tap: configStructs.TapConfig{ - ExcludedNamespaces: []string{ - "kube-system", - }, NodeSelectorTerms: []v1.NodeSelectorTerm{ { MatchExpressions: []v1.NodeSelectorRequirement{ diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 32e9c32cd..40f4af061 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -167,7 +167,7 @@ type TapConfig struct { Namespaces []string `yaml:"namespaces" json:"namespaces" default:"[]"` ExcludedNamespaces []string `yaml:"excludedNamespaces" json:"excludedNamespaces" default:"[]"` BpfOverride string `yaml:"bpfOverride" json:"bpfOverride" default:""` - Stopped bool `yaml:"stopped" json:"stopped" default:"false"` + Stopped bool `yaml:"stopped" json:"stopped" default:"true"` Release ReleaseConfig `yaml:"release" json:"release"` PersistentStorage bool `yaml:"persistentStorage" json:"persistentStorage" default:"false"` PersistentStorageStatic bool `yaml:"persistentStorageStatic" json:"persistentStorageStatic" default:"false"` diff --git a/helm-chart/README.md b/helm-chart/README.md index 086c1394a..eaf964a4d 100644 --- a/helm-chart/README.md +++ b/helm-chart/README.md @@ -125,6 +125,7 @@ Please refer to [metrics](./metrics.md) documentation for details. | `tap.proxy.front.port` | Front-facing service port | `8899` | | `tap.proxy.host` | Proxy server's IP | `127.0.0.1` | | `tap.namespaces` | List of namespaces for the traffic capture | `[]` | +| `tap.excludedNamespaces` | List of namespaces to explicitly exclude | `[]` | | `tap.release.repo` | URL of the Helm chart repository | `https://helm.kubeshark.co` | | `tap.release.name` | Helm release name | `kubeshark` | | `tap.release.namespace` | Helm release namespace | `default` |