- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetWebhooksWithTag (0.13 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)