From a0eb85e71dc3933dfabca9becb190b90568764f7 Mon Sep 17 00:00:00 2001 From: Ilya Gavrilov Date: Wed, 28 Aug 2024 17:53:44 +0200 Subject: [PATCH] Add disableTlsLog command line option support for tracer (#1595) --- config/configStructs/tapConfig.go | 1 + helm-chart/templates/09-worker-daemon-set.yaml | 3 +++ 2 files changed, 4 insertions(+) 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 }}'