Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetWebhooksWithRevision (0.12 sec)

  1. istioctl/pkg/tag/util.go

    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetWebhooksWithRevision returns webhooks tagged with istio.io/rev=<rev> and NOT TAGGED with istio.io/tag.
    // this retrieves the webhook created at revision installation rather than tag webhooks
    func GetWebhooksWithRevision(ctx context.Context, client kubernetes.Interface, rev string) ([]admitv1.MutatingWebhookConfiguration, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate.go

    func Generate(ctx context.Context, client kube.Client, opts *GenerateOptions, istioNS string) (string, error) {
    	// abort if there exists a revision with the target tag name
    	revWebhookCollisions, err := GetWebhooksWithRevision(ctx, client.Kube(), opts.Tag)
    	if err != nil {
    		return "", err
    	}
    	if !opts.Generate && !opts.Overwrite &&
    		len(revWebhookCollisions) > 0 && opts.Tag != DefaultRevisionName {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top