Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for injection (0.24 sec)

  1. istioctl/pkg/checkinject/checkinject_test.go

    				},
    				{
    					Name:     "istio-sidecar-injector-1-16",
    					Revision: "1-16",
    					Injected: false,
    					Reason:   "Namespace has istio-injection=disabled label, preventing injection",
    				},
    				{
    					Name:     "istio-sidecar-injector-deactivated",
    					Revision: "default",
    					Reason:   "The injection webhook is deactivated, and will never match labels.",
    				},
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list.go

    	injector := getInjector(namespace, hooks)
    	if injector != nil {
    		return injector.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    	}
    	newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    	oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName]
    	// If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    	revLabel := klabels.Set{"istio.io/rev": "canary"}
    	legacyAndRevLabel := klabels.Set{"istio-injection": "enabled", "istio.io/rev": "canary"}
    	legacyDisabledAndRevLabel := klabels.Set{"istio-injection": "disabled", "istio.io/rev": "canary"}
    	legacyLabel := klabels.Set{"istio-injection": "enabled"}
    	legacyLabelDisabled := klabels.Set{"istio-injection": "disabled"}
    
    	objEnabled := klabels.Set{"sidecar.istio.io/inject": "true"}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/kubeinject.go

    		}
    		*sidecarTemplate = injectConfig
    	} else {
    		injector, err = setUpExternalInjector(cliContext, revision, injectorAddress)
    		if err != nil || injector.clientConfig == nil {
    			log.Warnf("failed to get injection config from mutatingWebhookConfigurations %q, will fall back to "+
    				"get injection from the injection configmap %q : %v", whcName, defaultInjectWebhookConfigName, err)
    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)
  5. cni/pkg/plugin/sidecar_redirect.go

    	if valErr != nil {
    		return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v",
    			"includeOutboundPorts", isFound, valErr)
    	}
    	// Add 15090 to sync with non-cni injection template
    	// TODO: Revert below once https://github.com/istio/istio/pull/23037 or its follow up is merged.
    	redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	sort.Strings(lines)
    	return strings.Join(lines, "\n") + "\n"
    }
    
    // extractClusterIDFromInjectionConfig can extract clusterID from injection configmap
    func extractClusterIDFromInjectionConfig(kubeClient kube.CLIClient, istioNamespace string) (string, error) {
    	injectionConfigMap := "istio-sidecar-injector"
    	// Case with multiple control planes
    	revision := kubeClient.Revision()
    	if isRevisioned(revision) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate.go

    	if err != nil {
    		return "", fmt.Errorf("failed to create tag webhook: %w", err)
    	}
    
    	if opts.Tag == DefaultRevisionName {
    		if !opts.Generate {
    			// deactivate other istio-injection=enabled injectors if using default revisions.
    			err := DeactivateIstioInjectionWebhook(ctx, client.Kube())
    			if err != nil {
    				return "", fmt.Errorf("failed deactivating existing default revision: %w", err)
    			}
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/tag.go

    referring to control plane revisions for sidecar injection.
    
    With revision tags, rather than relabeling a namespace from "istio.io/rev=revision-a" to "istio.io/rev=revision-b" to
    change which control plane revision handles injection, it's possible to create a revision tag "prod" and label our
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate_test.go

    				if injectionWhConf.Service == nil {
    					t.Fatalf("expected injection service %s, got nil", tc.whSVC)
    				}
    				if injectionWhConf.Service.Name != tc.whSVC {
    					t.Fatalf("expected injection service %s, got %s", tc.whSVC, injectionWhConf.Service.Name)
    				}
    			}
    			if tc.whURL != "" {
    				if injectionWhConf.URL == nil {
    					t.Fatalf("expected injection URL %s, got nil", tc.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)
  10. cni/pkg/iptables/iptables.go

    	// (e.g. LoadBalanced Service packets, etc) that need to be authenticated/captured/proxied.
    	//
    	// We want to do the same thing in ambient but can't rely on podSpec injection. So, do effectively the same thing,
    	// but with iptables rules - use `--socket-exists` as a proxy for "is this a forwarded packet" vs "is this originating from
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top