diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index c47f2311b..c5192bc68 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -132,6 +132,7 @@ type TapConfig struct { NoKernelModule bool `yaml:"noKernelModule" json:"noKernelModule" default:"false"` Telemetry TelemetryConfig `yaml:"telemetry" json:"telemetry"` DefaultFilter string `yaml:"defaultFilter" json:"defaultFilter"` + ReplayDisabled bool `yaml:"replayDisabled" json:"replayDisabled" default:"false"` } func (config *TapConfig) PodRegex() *regexp.Regexp { diff --git a/helm-chart/templates/12-config-map.yaml b/helm-chart/templates/12-config-map.yaml index a9af5cf4e..6d3069770 100644 --- a/helm-chart/templates/12-config-map.yaml +++ b/helm-chart/templates/12-config-map.yaml @@ -16,3 +16,4 @@ data: AUTH_APPROVED_DOMAINS: '{{ gt (len .Values.tap.auth.approvedDomains) 0 | ternary (join "," .Values.tap.auth.approvedDomains) "" }}' AUTH_APPROVED_TENANTS: '{{ gt (len .Values.tap.auth.approvedTenants) 0 | ternary (join "," .Values.tap.auth.approvedTenants) "" }}' TELEMETRY_DISABLED: '{{ not .Values.tap.telemetry.enabled | ternary "true" "" }}' + REPLAY_DISABLED: '{{ .Values.tap.replayDisabled | ternary "true" "" }}' diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index af013cb27..ed4f79431 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -67,6 +67,7 @@ tap: telemetry: enabled: true defaultFilter: "" + replayDisabled: false logs: file: "" kube: diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 2f8ab96c1..d03e8969f 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -100,6 +100,7 @@ data: AUTH_APPROVED_DOMAINS: '' AUTH_APPROVED_TENANTS: '' TELEMETRY_DISABLED: '' + REPLAY_DISABLED: '' --- # Source: kubeshark/templates/02-cluster-role.yaml apiVersion: rbac.authorization.k8s.io/v1