- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tagName (0.16 sec)
-
istioctl/pkg/tag/tag.go
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 { return fmt.Errorf("cannot remove tag %q: cannot find MutatingWebhookConfiguration for tag", tagName) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
} // 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 } return "", fmt.Errorf("could not extract tag revision from webhook") } // DeleteTagWebhooks deletes the given webhooks.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
istioctl/pkg/tag/generate.go
} // tagWebhookConfigFromCanonicalWebhook parses configuration needed to create tag webhook from existing revision webhook. 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
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0)