Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for IstioNamespace (0.22 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/cli/option.go

    		"Kubernetes namespace")
    	flags.StringVarP(r.istioNamespace, FlagIstioNamespace, "i", viper.GetString(FlagIstioNamespace),
    		"Istio system namespace")
    
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    func (r *RootFlags) IstioNamespace() string {
    	return *r.istioNamespace
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. istioctl/pkg/config/config_test.go

    	"istio.io/istio/istioctl/pkg/util/testutil"
    	"istio.io/istio/pkg/config/constants"
    )
    
    func TestConfigList(t *testing.T) {
    	cases := []testutil.TestCase{
    		//{ // case 0
    		//	Args:           strings.Split("get istioNamespace", " "),
    		//	ExpectedRegexp: regexp.MustCompile("Configure istioctl defaults"),
    		//	WantException:  false,
    		//},
    		{ // case 1
    			Args: strings.Split("list", " "),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/internaldebug/internal-debug.go

    				namespace, serviceAccount, kubeClient, multixds.DefaultOptions)
    			if err != nil {
    				return err
    			}
    			sw := DebugWriter{
    				Writer:                 c.OutOrStdout(),
    				InternalDebugAllIstiod: internalDebugAllIstiod,
    			}
    			newResponse, err := HandlerForDebugErrors(kubeClient, &centralOpts, c.OutOrStdout(), ctx.IstioNamespace(), xdsResponses)
    			if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 12 11:30:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. 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)
  6. istioctl/pkg/cli/context.go

    }
    
    func (f *fakeInstance) Namespace() string {
    	return f.rootFlags.Namespace()
    }
    
    func (f *fakeInstance) IstioNamespace() string {
    	return f.rootFlags.IstioNamespace()
    }
    
    type NewFakeContextOption struct {
    	Namespace      string
    	IstioNamespace string
    	Results        map[string][]byte
    	// Objects are the objects to be applied to the fake client
    	Objects []runtime.Object
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top