Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for remoteSecretNameFromClusterName (0.29 sec)

  1. istioctl/pkg/multicluster/remote_secret_test.go

    			context:            "c0",
    			clusterName:        fakeClusterName,
    			server:             "https://1.2.3.4",
    			wantRemoteSecret: &v1.Secret{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: remoteSecretNameFromClusterName(fakeClusterName),
    					Annotations: map[string]string{
    						clusterNameAnnotationKey: fakeClusterName,
    					},
    					Labels: map[string]string{
    						multicluster.MultiClusterSecretLabel: "true",
    					},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret.go

    		runtime.InternalGroupVersioner,
    	)
    }
    
    const (
    	remoteSecretPrefix = "istio-remote-secret-"
    	configSecretName   = "istio-kubeconfig"
    	configSecretKey    = "config"
    )
    
    func remoteSecretNameFromClusterName(clusterName string) string {
    	return remoteSecretPrefix + clusterName
    }
    
    // NewCreateRemoteSecretCommand creates a new command for joining two contexts
    // together in a multi-cluster mesh.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top