Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 773 for injectPod (0.32 sec)

  1. pkg/kube/inject/webhook.go

    // * originalPod: the pod before injection. If needed, we will apply some configurations from this pod on top of the final pod
    // * templatePod: the rendered injection template. This is needed only to see what containers we injected
    // * finalPod: the current result of injection, roughly equivalent to the merging of originalPod and templatePod
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. pkg/kube/inject/inject.go

    		if err != nil {
    			return nil, nil, fmt.Errorf("failed applying injection overlay: %v", err)
    		}
    		// This is a bit of a weird hack. With NativeSidecars, the container will be under initContainers in the template pod.
    		// But we may have injection customizations (https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#customizing-injection);
    		// these will be in the `containers` field.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. releasenotes/notes/injector-selectors.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    issue:
      - 30013
    
    releaseNotes:
    - |
      **Improved** the sidecar injector to better utilize pod labels to determine if injection is required.
    upgradeNotes:
    - title: Sidecar Injector Changes
      content: |
        The logic to determine if a pod requires sideacr injection or not has been updated to make use of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 01 15:34:22 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/injection/injection.go

    )
    
    // Analyzer checks conditions related to Istio sidecar injection.
    type Analyzer struct{}
    
    var _ analysis.Analyzer = &Analyzer{}
    
    // We assume that enablement is via an istio-injection=enabled or istio.io/rev namespace label
    // In theory, there can be alternatives using Mutatingwebhookconfiguration, but they're very uncommon
    // See https://istio.io/docs/ops/troubleshooting/injection/ for more info.
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/injection-with-mismatched-sidecar.yaml

    # Namespace 'enabled-namespace' has istio injection enabled, so will be enforced.
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: enabled-namespace
    ---
    # Details-v1-pod-old is out of date and should get a warning.
    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: details
      name: details-v1-pod-old
      namespace: enabled-namespace
    spec:
      containers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 13 05:31:06 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/injection.yaml

    # Broken config in a yaml config file
    #
    
    # Namespace is explicitly enabled
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: default
    ---
    # Namespace doesn't have the injection label, but is labeled for ambient
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio.io/dataplane-mode: ambient
      name: ambient
    ---
    # Namespace is explicitly disabled, Should not generate warning!
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 14:06:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. 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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/testdata/check-inject/default-injector.yaml

            path: /inject
            port: 443
        failurePolicy: Fail
        matchPolicy: Equivalent
        name: rev.namespace.sidecar-injector.istio.io
        namespaceSelector:
          matchExpressions:
            - key: istio.io/rev
              operator: In
              values:
                - default
            - key: istio-injection
              operator: DoesNotExist
        objectSelector:
          matchExpressions:
            - key: sidecar.istio.io/inject
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. 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.",
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top