Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/auth/pkg/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
argKubeconfig = pflag.String("kubeconfig", "", "path to kubeconfig file")
argApiServerHost = pflag.String("apiserver-host", "", "address of the Kubernetes API server to connect to in the format of protocol://address:port, leave it empty if the binary runs inside cluster for local discovery attempt")
argApiServerSkipTLSVerify = pflag.Bool("apiserver-skip-tls-verify", false, "enable if connection with remote Kubernetes API server should skip TLS verify")
argApiServerCaBundle = pflag.String("apiserver-ca-bundle", "", "file containing the x509 certificates used for HTTPS connection to the API Server")
argApiServerCaBundle = pflag.String("apiserver-ca-bundle", "", "file containing the x509 certificates used for HTTPS connection to the API Server")
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion modules/common/client/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (in *configBuilder) buildBaseConfig() (config *rest.Config, err error) {

if len(in.caBundlePath) > 0 {
klog.InfoS("Using custom CA Bundle", "caBundle", in.caBundlePath)
config.TLSClientConfig.CAFile = in.caBundlePath
config.CAFile = in.caBundlePath
}

if err != nil {
Expand Down