Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cluster_name (0.15 sec)

  1. cni/pkg/install/kubeconfig.go

    	if err != nil {
    		return kubeconfig{}, err
    	}
    
    	const contextName = "istio-cni-context"
    	const clusterName = "local"
    	const userName = "istio-cni"
    	kcfg := &api.Config{
    		Kind:        "Config",
    		APIVersion:  "v1",
    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: cluster,
    		},
    		AuthInfos: map[string]*api.AuthInfo{
    			userName: {
    				Token: string(token),
    			},
    		},
    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