mirror of
https://github.com/helm/helm.git
synced 2026-08-12 12:14:45 +00:00
fix(tiller): update tls client auth policy
RequireAndVerifyClientCert => VerifyClientCertIfGiven Closes #2310
This commit is contained in:
@@ -221,7 +221,7 @@ func tlsOptions() tlsutil.Options {
|
||||
opts := tlsutil.Options{CertFile: certFile, KeyFile: keyFile}
|
||||
if tlsVerify {
|
||||
opts.CaCertFile = caCertFile
|
||||
opts.ClientAuth = tls.RequireAndVerifyClientCert
|
||||
opts.ClientAuth = tls.VerifyClientCertIfGiven
|
||||
}
|
||||
return opts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user