Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createBearerTokenKubeconfig (0.25 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    		Contexts: map[string]*api.Context{
    			clusterName: {
    				Cluster:  clusterName,
    				AuthInfo: clusterName,
    			},
    		},
    		CurrentContext: clusterName,
    	}
    }
    
    func createBearerTokenKubeconfig(caData, token []byte, clusterName, server string) *api.Config {
    	c := createBaseKubeconfig(caData, clusterName, server)
    	c.AuthInfos[c.CurrentContext] = &api.AuthInfo{
    		Token: string(token),
    	}
    	return c
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top