Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for remoteSecretNameFromClusterName (0.15 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",
    					},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K 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.
    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