We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bb2cb commit a4f96a0Copy full SHA for a4f96a0
modules/common/client/init.go
@@ -61,7 +61,7 @@ func (in *configBuilder) buildBaseConfig() (config *rest.Config, err error) {
61
62
if len(in.caBundlePath) > 0 {
63
klog.InfoS("Using custom CA Bundle", "caBundle", in.caBundlePath)
64
- config.TLSClientConfig.CertificateAuthority = in.caBundlePath
+ config.TLSClientConfig.CAFile = in.caBundlePath
65
}
66
67
config, err = clientcmd.BuildConfigFromFlags(in.masterUrl, in.kubeconfigPath)
0 commit comments