diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 8ce2a4155..8be8cb687 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -168,6 +168,7 @@ type MiscConfig struct { ResolutionStrategy string `yaml:"resolutionStrategy" json:"resolutionStrategy" default:"auto"` Profile bool `yaml:"profile" json:"profile" default:"false"` DuplicateTimeframe string `yaml:"duplicateTimeframe" json:"duplicateTimeframe" default:"200ms"` + DetectDuplicates bool `yaml:"detectDuplicates" json:"detectDuplicates" default:"false"` } type TapConfig struct { diff --git a/helm-chart/templates/12-config-map.yaml b/helm-chart/templates/12-config-map.yaml index f107953d3..e27e0fb76 100644 --- a/helm-chart/templates/12-config-map.yaml +++ b/helm-chart/templates/12-config-map.yaml @@ -47,4 +47,5 @@ data: {{- end }}' DUPLICATE_TIMEFRAME: '{{ .Values.tap.misc.duplicateTimeframe }}' ENABLED_DISSECTORS: '{{ gt (len .Values.tap.enabledDissectors) 0 | ternary (join "," .Values.tap.enabledDissectors) "" }}' + DETECT_DUPLICATES: '{{ .Values.tap.misc.detectDuplicates | ternary "true" "false" }}' diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 60279156d..d572c544c 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -139,6 +139,7 @@ tap: resolutionStrategy: auto profile: false duplicateTimeframe: 200ms + detectDuplicates: false logs: file: "" grep: "" diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 10e8092a6..797b20e52 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -250,6 +250,7 @@ data: CLOUD_LICENSE_ENABLED: 'true' DUPLICATE_TIMEFRAME: '200ms' ENABLED_DISSECTORS: 'amqp,dns,http,icmp,kafka,redis,sctp,syscall,tcp,ws' + DETECT_DUPLICATES: 'false' --- # Source: kubeshark/templates/02-cluster-role.yaml apiVersion: rbac.authorization.k8s.io/v1