@@ -785,6 +785,7 @@ var _ = Describe("Legacy Options", func() {
785785 secureMetricsAddr = ":9443"
786786 crtPath = "tls.crt"
787787 keyPath = "tls.key"
788+ minVersion = "TLS1.3"
788789 )
789790
790791 var tlsConfig = &TLS{
@@ -796,6 +797,12 @@ var _ = Describe("Legacy Options", func() {
796797 },
797798 }
798799
800+ var tlsConfigMinVersion = &TLS{
801+ Cert: tlsConfig.Cert,
802+ Key: tlsConfig.Key,
803+ MinVersion: minVersion,
804+ }
805+
799806 DescribeTable("should convert to app and metrics servers",
800807 func(in legacyServersTableInput) {
801808 appServer, metricsServer := in.legacyServer.convert()
@@ -823,6 +830,19 @@ var _ = Describe("Legacy Options", func() {
823830 TLS: tlsConfig,
824831 },
825832 }),
833+ Entry("with TLS options specified with MinVersion", legacyServersTableInput{
834+ legacyServer: LegacyServer{
835+ HTTPAddress: insecureAddr,
836+ HTTPSAddress: secureAddr,
837+ TLSKeyFile: keyPath,
838+ TLSCertFile: crtPath,
839+ TLSMinVersion: minVersion,
840+ },
841+ expectedAppServer: Server{
842+ SecureBindAddress: secureAddr,
843+ TLS: tlsConfigMinVersion,
844+ },
845+ }),
826846 Entry("with metrics HTTP and HTTPS addresses", legacyServersTableInput{
827847 legacyServer: LegacyServer{
828848 HTTPAddress: insecureAddr,