- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetWebhooksWithTag (0.16 sec)
-
istioctl/pkg/tag/util.go
LabelSelector: label.IoIstioRev.Name, }) if err != nil { return nil, err } return webhooks.Items, nil } // GetWebhooksWithTag returns webhooks tagged with istio.io/tag=<tag>. func GetWebhooksWithTag(ctx context.Context, client kubernetes.Interface, tag 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) -
istioctl/pkg/tag/generate.go
} if len(revWebhooks) > 1 { return "", fmt.Errorf("cannot modify tag: found multiple canonical webhooks with revision %q", opts.Revision) } whs, err := GetWebhooksWithTag(ctx, client.Kube(), opts.Tag) if err != nil { return "", err } if len(whs) > 0 && !opts.Overwrite { return "", fmt.Errorf("revision tag %q already exists, and --overwrite is false", opts.Tag) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
return nil } // removeTag removes an existing revision tag. func removeTag(ctx context.Context, kubeClient kubernetes.Interface, tagName string, skipConfirmation bool, w io.Writer) error { webhooks, err := GetWebhooksWithTag(ctx, kubeClient, tagName) if err != nil { return fmt.Errorf("failed to retrieve tag with name %s: %v", tagName, err) } if len(webhooks) == 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0)