From 7ae81ccc4bb77d4488f8fefef0d8b66046be1634 Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:49:44 +0300 Subject: [PATCH] Add MySQL protocol to default configuration (#1916) Closes #1915 Co-authored-by: Alon Girmonsky --- config/configStruct.go | 2 ++ config/configStructs/tapConfig.go | 1 + helm-chart/values.yaml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/config/configStruct.go b/config/configStruct.go index a2f1c04ce..ff8c68c74 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -129,6 +129,7 @@ func CreateDefaultConfig() ConfigStruct { "icmp", "kafka", "mongodb", + "mysql", "redis", // "sctp", // "syscall", @@ -149,6 +150,7 @@ func CreateDefaultConfig() ConfigStruct { AMQP: []uint16{5671, 5672}, KAFKA: []uint16{9092}, MONGODB: []uint16{27017}, + MYSQL: []uint16{3306}, REDIS: []uint16{6379}, LDAP: []uint16{389}, DIAMETER: []uint16{3868}, diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 2db3a7317..7e88f737a 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -284,6 +284,7 @@ type PortMapping struct { AMQP []uint16 `yaml:"amqp" json:"amqp"` KAFKA []uint16 `yaml:"kafka" json:"kafka"` MONGODB []uint16 `yaml:"mongodb" json:"mongodb"` + MYSQL []uint16 `yaml:"mysql" json:"mysql"` REDIS []uint16 `yaml:"redis" json:"redis"` LDAP []uint16 `yaml:"ldap" json:"ldap"` DIAMETER []uint16 `yaml:"diameter" json:"diameter"` diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 1035da19a..6b41ec81a 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -209,6 +209,7 @@ tap: - icmp - kafka - mongodb + - mysql - redis - ws - ldap @@ -230,6 +231,8 @@ tap: - 9092 mongodb: - 27017 + mysql: + - 3306 redis: - 6379 ldap: