- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetWebhookRevision (0.18 sec)
-
istioctl/pkg/tag/util.go
// GetWebhookTagName extracts tag name from webhook object. func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string { return wh.ObjectMeta.Labels[IstioTagLabel] } // 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 }
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) -
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 = "" }
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) -
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 {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0)