Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeKubeConfigFile (0.14 sec)

  1. cni/pkg/install/kubeconfig.go

    		Full:     string(fullYaml),
    		Redacted: string(redacted),
    	}, nil
    }
    
    // writeKubeConfigFile will rewrite/replace the kubeconfig used by the CNI plugin.
    // We are the only consumers of this file and it resides in our owned rundir on the host node,
    // so we are good to simply write it out if our watched svcacct token changes.
    func writeKubeConfigFile(cfg *config.InstallConfig) error {
    	kc, err := createKubeConfig(cfg)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top