- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for writeKubeConfigFile (0.15 sec)
-
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 Oct 30 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/install/install.go
// Only our plugin consumes this kubeconfig, 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. if err := writeKubeConfigFile(in.cfg); err != nil { cniInstalls.With(resultLabel.Value(resultCreateKubeConfigFailure)).Increment() return copiedFiles, fmt.Errorf("write kubeconfig: %v", err) }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0)