Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCreateRemoteSecretFromPlugin (0.24 sec)

  1. istioctl/pkg/multicluster/remote_secret_test.go

    apiVersion: v1
    kind: Secret
    metadata:
      creationTimestamp: null
      name: foo
    ---
    `
    	if w.String() != want {
    		t.Errorf("got\n%q\nwant\n%q", w.String(), want)
    	}
    }
    
    func TestCreateRemoteSecretFromPlugin(t *testing.T) {
    	fakeClusterName := "fake-clusterName-0"
    	kubeconfig := strings.ReplaceAll(`apiVersion: v1
    clusters:
    - cluster:
        certificate-authority-data: Y2FEYXRh
        server: https://1.2.3.4
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top