Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeactivateIstioInjectionWebhook (0.26 sec)

  1. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  2. istioctl/pkg/tag/generate.go

    	}
    
    	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 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top