Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for service_account_token_string (0.19 sec)

  1. cni/pkg/install/testdata/kubeconfig-tls

    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. cni/pkg/install/testdata/kubeconfig-skip-tls

    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 342 bytes
    - Viewed (0)
  3. cni/pkg/install/testdata/kubeconfig-newhost

    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 11 01:19:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. cni/pkg/install/kubeconfig_test.go

    	"istio.io/istio/cni/pkg/config"
    	testutils "istio.io/istio/pilot/test/util"
    )
    
    const (
    	k8sServiceHost = "10.96.0.1"
    	k8sServicePort = "443"
    	kubeCAFilepath = "testdata/kube-ca.crt"
    	saToken        = "service_account_token_string"
    )
    
    func TestCreateValidKubeconfigFile(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    	cases := []struct {
    		name               string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top