Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for system (0.18 sec)

  1. istioctl/pkg/tag/tag_test.go

    			var out bytes.Buffer
    
    			client := kube.NewFakeClient(tc.webhooksBefore.DeepCopyObject(), tc.namespaces.DeepCopyObject())
    			skipConfirmation = true
    			err := setTag(context.Background(), client, tc.tag, tc.revision, "istio-system", false, &out, nil)
    			if tc.error == "" && err != nil {
    				t.Fatalf("expected no error, got %v", err)
    			}
    			if tc.error != "" {
    				if err == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  2. cni/test/install_cni.go

      "cniVersion": "0.3.1",
      "type": "istio-cni",
      "log_level": "info",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILEPATH__",
          "cni_bin_dir": "/opt/cni/bin",
          "exclude_namespaces": [ "istio-system" ]
      }
    }
    `
    )
    
    func getEnv(key, fallback string) string {
    	if value, ok := os.LookupEnv(key); ok {
    		return value
    	}
    	return fallback
    }
    
    func setEnv(key, value string, t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/generate_test.go

    	}{
    		{
    			name:           "webhook-pointing-to-service",
    			istioNamespace: "istio-system",
    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    			whSVC:          "istiod-revision",
    			whCA:           "ca",
    		},
    		{
    			name:           "webhook-custom-istio-namespace",
    			istioNamespace: "istio-system-blue",
    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus_test.go

    				IstioNamespace: "istio-system",
    			})
    			if !c.noIstiod {
    				client, err := ctx.CLIClientWithRevision(c.revision)
    				assert.NoError(t, err)
    				_, err = client.Kube().CoreV1().Pods("istio-system").Create(context.TODO(), &corev1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "istiod-test",
    						Namespace: "istio-system",
    						Labels: map[string]string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

      # Capture cluster configuration for later use with kube-inject
      kubectl -n istio-system get cm istio-sidecar-injector  -o jsonpath="{.data.config}" > /tmp/inj-template.tmpl
      kubectl -n istio-system get cm istio -o jsonpath="{.data.mesh}" > /tmp/mesh.yaml
      kubectl -n istio-system get cm istio-sidecar-injector -o jsonpath="{.data.values}" > /tmp/values.json
    
      # Use kube-inject based on captured configuration
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. istioctl/pkg/xds/google.go

    func mcpDialOptions(ctx context.Context, gcpProject string, k8sCreds credentials.PerRPCCredentials) ([]grpc.DialOption, error) {
    	systemRoots, err := x509.SystemCertPool()
    	if err != nil {
    		return nil, fmt.Errorf("failed to get system cert pool: %w", err)
    	}
    	gcpCreds, err := oauth.NewApplicationDefault(ctx)
    	if err != nil {
    		return nil, fmt.Errorf("failed to get application default credentials: %w", err)
    	}
    
    	return []grpc.DialOption{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config endpoint <pod-name[.namespace]> --address 172.17.0.2 -o json
    
      # Retrieve full endpoint with a cluster name (outbound|9411||zipkin.istio-system.svc.cluster.local).
      istioctl proxy-config endpoint <pod-name[.namespace]> --cluster "outbound|9411||zipkin.istio-system.svc.cluster.local" -o json
      # Retrieve full endpoint with the status (healthy).
      istioctl proxy-config endpoint <pod-name[.namespace]> --status healthy -ojson
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. istioctl/pkg/dashboard/dashboard_test.go

    			ExpectedRegexp: regexp.MustCompile("http://localhost:3456"),
    			WantException:  false,
    		},
    	}
    
    	dbCmd := Dashboard(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace: "istio-system",
    	}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, dbCmd, c)
    			cleanupTestCase()
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. operator/cmd/mesh/install.go

    	if err != nil {
    		return fmt.Errorf("failed to get profile, namespace or enabled components: %v", err)
    	}
    
    	// Ignore the err because we don't want to show
    	// "no running Istio pods in istio-system" for the first time
    	_ = detectIstioVersionDiff(p, tag, ns, kubeClient, iop)
    	exists := revtag.PreviousInstallExists(context.Background(), kubeClient.Kube())
    	err = detectDefaultWebhookChange(p, kubeClient, iop, exists)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  10. istioctl/pkg/validate/validate_test.go

          consecutiveErrors: 7
    `
    	invalidYAML = `
    (...!)`
    	validKubernetesYAML = `
    apiVersion: v1
    kind: Namespace
    metadata:
      name: istio-system
    `
    	validKubernetesJSON = `{
    "apiVersion": "v1",
    "kind": "Namespace",
    "metadata": {
    	"name": "istio-system"
    }
    }`
    	invalidUnsupportedKey = `
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: productpage
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
Back to top