diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 8be8cb687..034d2b920 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -189,6 +189,7 @@ type TapConfig struct { Resources ResourcesConfig `yaml:"resources" json:"resources"` ServiceMesh bool `yaml:"serviceMesh" json:"serviceMesh" default:"true"` Tls bool `yaml:"tls" json:"tls" default:"true"` + DisableTlsLog bool `yaml:"disableTlsLog" json:"disableTlsLog" default:"false"` PacketCapture string `yaml:"packetCapture" json:"packetCapture" default:"best"` IgnoreTainted bool `yaml:"ignoreTainted" json:"ignoreTainted" default:"false"` Labels map[string]string `yaml:"labels" json:"labels" default:"{}"` diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index e41ab3bd4..ac19384e0 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -166,6 +166,9 @@ spec: {{- if .Values.tap.debug }} - -debug {{- end }} + {{- if .Values.tap.disableTlsLog }} + - -disable-tls-log + {{- end }} {{- if .Values.tap.misc.profile }} - -port - '{{ add .Values.tap.proxy.worker.srvPort 1 }}'