Skip to content

Commit f0ebf88

Browse files
authored
Allow for processing tls-server-name attribute in kubeconfig context (#587)
Signed-off-by: Jason Witkowski <[email protected]>
1 parent ad3c90f commit f0ebf88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/test/utils/kubernetes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,7 @@ func Kubeconfig(cfg *rest.Config, w io.Writer) error {
12901290
Server: cfg.Host,
12911291
CertificateAuthorityData: cfg.TLSClientConfig.CAData,
12921292
InsecureSkipTLSVerify: cfg.TLSClientConfig.Insecure,
1293+
TLSServerName: cfg.TLSClientConfig.ServerName,
12931294
},
12941295
},
12951296
},

0 commit comments

Comments
 (0)