mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix(tiller): update tls client auth policy
RequireAndVerifyClientCert => VerifyClientCertIfGiven Closes #2310
This commit is contained in:
parent
7ce0e27c87
commit
d7240ff943
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue