Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for insertion (0.21 sec)

  1. istioctl/pkg/checkinject/checkinject.go

      istioctl x check-inject deployment/details-v1
    
      # Check the injection status of a pod under a deployment in namespace test
      istioctl x check-inject deployment/details-v1 -n test
    
      # Check the injection status of label pairs in a specific namespace before actual injection 
      istioctl x check-inject -n test -l app=helloworld,version=v1
    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. 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)
  3. istioctl/pkg/util/ambient/util.go

    		return false
    	}
    	switch t := obj.(type) {
    	case *corev1.Pod:
    		return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    	case *corev1.Namespace:
    		if t.GetLabels()["istio-injection"] == "enabled" {
    			return false
    		}
    		if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" {
    			return false
    		}
    		return t.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. istioctl/cmd/sysexits.go

    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    // The intention here is to use 64-78 in a way that matches the attempt in
    // sysexits to signify some error running istioctl, and use 79-125 as custom
    // error codes for other info that we'd like to use to pass info on.
    const (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables.go

    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, iptablesconstants.OUTPUT, iptablesconstants.NAT,
    		"-j", ChainInpodOutput,
    	)
    
    	// From here on, we should be only inserting rules into our custom chains.
    
    	// CLI: -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff
    	//
    	// DESC: If we have a packet mark, set a connmark.
    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)
  6. istioctl/pkg/kubeinject/kubeinject.go

    	} 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)
    			if *sidecarTemplate, err = getInjectConfigFromConfigMap(cliContext, revision); err != nil {
    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)
  7. operator/cmd/mesh/install.go

    	// and we are installing a new IOP with default semantics, the default webhook shifts.
    	if exists && len(mwhs.Items) == 0 && iop.Spec.GetRevision() == "" {
    		p.Println("This installation will make default injection and validation pointing to the default revision, and " +
    			"originally it was pointing to the revisioned one.")
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  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. istioctl/pkg/tag/util.go

    		LabelSelector: "app=sidecar-injector",
    	})
    	if err != nil {
    		return false
    	}
    	return len(mwhs.Items) > 0
    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
Back to top