Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for injectPod (0.18 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 (1)
  3. 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)
  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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/injection/injection-image.go

    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/slices"
    )
    
    // ImageAnalyzer checks the image of auto-injection configured with the running proxies on pods.
    type ImageAnalyzer struct{}
    
    var _ analysis.Analyzer = &ImageAnalyzer{}
    
    // injectionConfigMap is a snippet of the sidecar injection ConfigMap
    type injectionConfigMap struct {
    	Global global `json:"global"`
    }
    
    type global struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list_test.go

    		name     string
    		pod      *corev1.Pod
    		expected bool
    	}{
    		{
    			name: "Injection disabled by annotation",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: map[string]string{
    						annotation.SidecarInject.Name: "false",
    					},
    				},
    			},
    			expected: true,
    		},
    		{
    			name: "Injection enabled by annotation",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 04:33:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml

    {{- if ne $gateway.injectionTemplate "" }}
    {{/* This provides a minimal gateway, ready to be injected.
         Any settings from values.gateways should be here - these are options specific to the gateway.
         Global settings, like the image, various env vars and volumes, etc will be injected.
         The normal Deployment is not suitable for this, as the original pod spec will override the injection template. */}}
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml

    {{- if ne $gateway.injectionTemplate "" }}
    {{/* This provides a minimal gateway, ready to be injected.
         Any settings from values.gateways should be here - these are options specific to the gateway.
         Global settings, like the image, various env vars and volumes, etc will be injected.
         The normal Deployment is not suitable for this, as the original pod spec will override the injection template. */}}
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/istiod-injector-configmap.yaml

        templates:
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }}
          sidecar: |
    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

        templates:
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }}
          sidecar: |
    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top