- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetWebhookRevision (1.2 sec)
-
istioctl/pkg/tag/util.go
func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string { return wh.ObjectMeta.Labels[label.IoIstioTag.Name] } // GetWebhookRevision extracts tag target revision from webhook object. func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) { if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok { return tagName, nil }
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
func tagWebhookConfigFromCanonicalWebhook(wh admitv1.MutatingWebhookConfiguration, tagName, istioNS string) (*tagWebhookConfig, error) { rev, err := GetWebhookRevision(wh) if err != nil { return nil, err } // if the revision is "default", render templates with an empty revision if rev == DefaultRevisionName { rev = "" }
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 } rawTags := map[uniqTag]tagDescription{} for _, wh := range tagWebhooks { tagName := GetWebhookTagName(wh) tagRevision, err := GetWebhookRevision(wh) if err != nil { return fmt.Errorf("error parsing revision from webhook %q: %v", wh.Name, err) } tagNamespaces, err := GetNamespacesWithTag(ctx, kubeClient, tagName) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0)