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