You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// CIDR is an IP address range in CIDR notation (for example, "10.0.0.0/8" or "fd00::/8").
@@ -204,3 +219,25 @@ type AdminNetworkPolicyEgressPeer struct {
204
219
// +kubebuilder:validation:XValidation:rule="self.contains(':') != self.contains('.')",message="CIDR must be either an IPv4 or IPv6 address. IPv4 address embedded in IPv6 addresses are not supported"
205
220
// +kubebuilder:validation:MaxLength=43
206
221
typeCIDRstring
222
+
223
+
// DomainName describes one or more domain names to be used as a peer.
224
+
//
225
+
// DomainName can be an exact match, or use the wildcard specifier '*' to match
226
+
// one or more labels.
227
+
//
228
+
// '*', the wildcard specifier, matches one or more entire labels. It does not
229
+
// support partial matches. '*' may only be specified as a prefix.
230
+
//
231
+
// Examples:
232
+
// - `kubernetes.io` matches only `kubernetes.io`.
233
+
// It does not match "www.kubernetes.io", "blog.kubernetes.io",
234
+
// "my-kubernetes.io", or "wikipedia.org".
235
+
// - `blog.kubernetes.io` matches only "blog.kubernetes.io".
236
+
// It does not match "www.kubernetes.io" or "kubernetes.io".
237
+
// - `*.kubernetes.io` matches subdomains of kubernetes.io.
238
+
// "www.kubernetes.io", "blog.kubernetes.io", and
239
+
// "latest.blog.kubernetes.io" match, however "kubernetes.io", and
0 commit comments