Add --ignoreTainted flag to tap command

This commit is contained in:
M. Mert Yildiran
2023-03-27 16:26:09 +03:00
parent 8b5e55d53a
commit e4684a10af
3 changed files with 12 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ const (
PcapLabel = "pcap"
ServiceMeshLabel = "servicemesh"
TlsLabel = "tls"
IgnoreTaintedLabel = "ignoreTainted"
DebugLabel = "debug"
)
@@ -82,6 +83,7 @@ type TapConfig struct {
ServiceMesh bool `yaml:"servicemesh" default:"true"`
Tls bool `yaml:"tls" default:"true"`
PacketCapture string `yaml:"packetcapture" default:"libpcap"`
IgnoreTainted bool `yaml:"ignoreTainted" default:"false"`
Debug bool `yaml:"debug" default:"false"`
}