Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Model (0.21 sec)

  1. cni/pkg/install/kubeconfig.go

    	}
    
    	protocol := model.GetOrDefault(cfg.K8sServiceProtocol, "https")
    	cluster := &api.Cluster{
    		Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)),
    	}
    
    	if cfg.SkipTLSVerify {
    		// User explicitly opted into insecure.
    		cluster.InsecureSkipTLSVerify = true
    	} else {
    		caFile := model.GetOrDefault(cfg.KubeCAFile, constants.ServiceAccountPath+"/ca.crt")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top