Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for IstioNamespace (0.09 sec)

  1. istioctl/pkg/multixds/gather.go

    // nolint: lll
    func RequestAndProcessXds(dr *discovery.DiscoveryRequest, centralOpts clioptions.CentralControlPlaneOptions, istioNamespace string, kubeClient kube.CLIClient) (*discovery.DiscoveryResponse, error) {
    	responses, err := MultiRequestAndProcessXds(true, dr, centralOpts, istioNamespace,
    		istioNamespace, tokenServiceAccount, kubeClient, DefaultOptions)
    	if err != nil {
    		return nil, err
    	}
    	return mergeShards(responses)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

    	if i >= 0 {
    		n = n[:i]
    	}
    	p := protocol.Parse(n)
    	return p == protocol.Unsupported
    }
    
    func handleNamespace(istioNamespace string) string {
    	if istioNamespace == "" {
    		istioNamespace = constants.IstioSystemNamespace
    	}
    	return istioNamespace
    }
    
    // TODO(nmittler): Remove this once Pilot migrates to galley schema.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload.go

    		return err
    	}
    	if err := createClusterEnv(wg, proxyConfig, istioNamespace, revision, internalIP, externalIP, outputDir); err != nil {
    		return err
    	}
    	if err := createCertsTokens(kubeClient, wg, outputDir, out); err != nil {
    		return err
    	}
    	if err := createHosts(kubeClient, istioNamespace, ingressIP, outputDir, revision); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    	tcs := []struct {
    		name           string
    		istioNamespace string
    		webhook        admitv1.MutatingWebhookConfiguration
    		whURL          string
    		whSVC          string
    		whCA           string
    		userManaged    bool
    	}{
    		{
    			name:           "webhook-pointing-to-service",
    			istioNamespace: "istio-system",
    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    			"values": values.Map{
    				"revision": config.Revision,
    				"base":     values.Map{"validationURL": config.URL},
    				"global":   values.Map{"istioNamespace": config.IstioNamespace},
    			},
    		},
    	}
    	mfs, _, err := helm.Render(config.IstioNamespace, "default", vals, nil)
    	if err != nil {
    		return "", nil
    	}
    	var validatingWebhookYAML string
    	for _, m := range mfs {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    func filterSystemNamespaces(nss []corev1.Namespace, istioNamespace string) []corev1.Namespace {
    	filtered := make([]corev1.Namespace, 0)
    	for _, ns := range nss {
    		if inject.IgnoredNamespaces.Contains(ns.Name) || ns.Name == istioNamespace {
    			continue
    		}
    		filtered = append(filtered, ns)
    	}
    	return filtered
    }
    
    func getNamespaces(ctx context.Context, client kube.CLIClient, istioNamespace string) ([]corev1.Namespace, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    }
    
    func verifyExecAndK8sConfigTestCaseTestOutput(t *testing.T, c execAndK8sConfigTestCase) {
    	t.Helper()
    
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace:      c.namespace,
    		IstioNamespace: c.istioNamespace,
    		Results:        c.configDumps,
    	})
    	client, err := ctx.CLIClient()
    	assert.NoError(t, err)
    	// Override the Istio config factory
    	for i := range c.istioConfigs {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  8. istioctl/pkg/precheck/precheck.go

    		},
    		{
    			namespace: istioNamespace,
    			group:     "rbac.authorization.k8s.io",
    			version:   "v1",
    			resource:  "roles",
    		},
    		{
    			namespace: istioNamespace,
    			version:   "v1",
    			resource:  "serviceaccounts",
    		},
    		{
    			namespace: istioNamespace,
    			version:   "v1",
    			resource:  "services",
    		},
    		{
    			namespace: istioNamespace,
    			group:     "apps",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject.go

    	}
    	meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(ctx.IstioNamespace()).Get(context.TODO(), meshConfigMapName, metav1.GetOptions{})
    	if err != nil {
    		return nil, fmt.Errorf("could not read valid configmap %q from namespace %q: %v - "+
    			"Use --meshConfigFile or re-run "+command+" with `-i <istioSystemNamespace> and ensure valid MeshConfig exists",
    			meshConfigMapName, ctx.IstioNamespace(), err)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. istioctl/pkg/dashboard/dashboard.go

    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			var podName, ns string
    			if labelSelector != "" {
    				pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), labelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top