Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for injected (0.23 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    func Cmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check-inject [<type>/]<name>[.<namespace>]",
    		Short: "Check the injection status or inject-ability of a given resource, explains why it is (or will be) injected or not",
    		Long: `
    Checks associated resources of the given resource, and running webhooks to examine whether the pod can be or will be injected or not.`,
    		Example: `  # Check the injection status of a pod
    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. istioctl/pkg/checkinject/checkinject_test.go

    				},
    				{
    					Name:     "istio-sidecar-injector-deactivated",
    					Revision: "default",
    					Reason:   "The injection webhook is deactivated, and will never match labels.",
    				},
    			},
    		},
    	}
    	whFiles := []string{
    		"testdata/check-inject/default-injector.yaml",
    		"testdata/check-inject/rev-16-injector.yaml",
    		"testdata/check-inject/never-match-injector.yaml",
    	}
    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)
  3. istioctl/pkg/injector/injector-list.go

    	needsRestart int
    }
    
    func Cmd(cliContext cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:     "injector",
    		Short:   "List sidecar injector and sidecar versions",
    		Long:    `List sidecar injector and sidecar versions`,
    		Example: `  istioctl experimental injector list`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    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)
  4. istioctl/pkg/kubeinject/kubeinject_test.go

    				" "),
    			GoldenFilename: "testdata/deployment/hello.yaml.injected",
    		},
    		{ // case 4 with only iop files
    			Args: strings.Split(
    				"--operatorFileName testdata/istio-operator.yaml"+
    					" --injectConfigFile testdata/inject-config-iop.yaml -f testdata/deployment/hello.yaml",
    				" "),
    			GoldenFilename: "testdata/deployment/hello.yaml.iop.injected",
    		},
    		{ // case 5 with only iop files
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag_test.go

    							Name:   "dependent",
    							Labels: map[string]string{label.IoIstioRev.Name: "match"},
    						},
    					},
    				},
    			},
    			outputMatches:    []string{"Caution, found 1 namespace(s) still injected by tag \"match\": dependent"},
    			skipConfirmation: false,
    			error:            "",
    		},
    	}
    
    	for _, tc := range tcs {
    		t.Run(tc.name, func(t *testing.T) {
    			var out bytes.Buffer
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net.go

    		return err
    	}
    
    	log.Debug("notifying subscribed node proxies")
    	if err := s.sendPodToZtunnelAndWaitForAck(ctx, pod, openNetns); err != nil {
    		// we must return PartialAdd error here. the pod was injected with iptables rules,
    		// so it should be annotated, so if it is removed from the mesh, the rules will be removed.
    		// alternatively, we may not return an error at all, but we want this to fail on tests.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  7. istioctl/pkg/multicluster/remote_secret_test.go

    		},
    		{
    			testName:          "fail to encode secret",
    			objs:              []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			outputWriterError: errors.New("injected encode error"),
    			wantErrStr:        "injected encode error",
    		},
    		{
    			testName: "success",
    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			want:     "cal-want",
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

      kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
    
      # Create a persistent version of the deployment with Istio sidecar injected.
      istioctl kube-inject -f deployment.yaml -o deployment-injected.yaml
    
      # Update an existing deployment.
      kubectl get deployment -o yaml | istioctl kube-inject -f - | kubectl apply -f -
    
      # Capture cluster configuration for later use with kube-inject
    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)
  9. istioctl/pkg/tag/generate.go

    	Generate bool
    	// Overwrite removes analysis checks around existing webhooks.
    	Overwrite bool
    	// AutoInjectNamespaces controls, if the sidecars should be injected into all namespaces by default.
    	AutoInjectNamespaces bool
    	// CustomLabels are labels to add to the generated webhook.
    	CustomLabels map[string]string
    	// UserManaged indicates whether the revision tag is user managed.
    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)
  10. cmd/globals.go

    	diskMinInodes = 1000
    
    	// tlsClientSessionCacheSize is the cache size for client sessions.
    	tlsClientSessionCacheSize = 100
    )
    
    func init() {
    	// Injected to prevent circular dependency.
    	pubsub.GetByteBuffer = grid.GetByteBuffer
    }
    
    type poolDisksLayout struct {
    	cmdline string
    	layout  [][]string
    }
    
    type disksLayout struct {
    	legacy bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top