@@ -280,18 +280,18 @@ type HTTPCompressionPolicy struct {
280280//
281281// The format should follow the Content-Type definition in RFC 1341:
282282// Content-Type := type "/" subtype *[";" parameter]
283- // - The type in Content-Type can be one of:
284- // application, audio, image, message, multipart, text, video, or a custom
285- // type preceded by "X-" and followed by a token as defined below.
286- // - The token is a string of at least one character, and not containing white
287- // space, control characters, or any of the characters in the tspecials set.
288- // - The tspecials set contains the characters ()<>@,;:\"/[]?.=
289- // - The subtype in Content-Type is also a token.
290- // - The optional parameter/s following the subtype are defined as:
291- // token "=" (token / quoted-string)
292- // - The quoted-string, as defined in RFC 822, is surrounded by double quotes
293- // and can contain white space plus any character EXCEPT \, ", and CR.
294- // It can also contain any single ASCII character as long as it is escaped by \.
283+ // - The type in Content-Type can be one of:
284+ // application, audio, image, message, multipart, text, video, or a custom
285+ // type preceded by "X-" and followed by a token as defined below.
286+ // - The token is a string of at least one character, and not containing white
287+ // space, control characters, or any of the characters in the tspecials set.
288+ // - The tspecials set contains the characters ()<>@,;:\"/[]?.=
289+ // - The subtype in Content-Type is also a token.
290+ // - The optional parameter/s following the subtype are defined as:
291+ // token "=" (token / quoted-string)
292+ // - The quoted-string, as defined in RFC 822, is surrounded by double quotes
293+ // and can contain white space plus any character EXCEPT \, ", and CR.
294+ // It can also contain any single ASCII character as long as it is escaped by \.
295295//
296296// +kubebuilder:validation:Pattern=`^(?i)(x-[^][ ()\\<>@,;:"/?.=\x00-\x1F\x7F]+|application|audio|image|message|multipart|text|video)/[^][ ()\\<>@,;:"/?.=\x00-\x1F\x7F]+(; *[^][ ()\\<>@,;:"/?.=\x00-\x1F\x7F]+=([^][ ()\\<>@,;:"/?.=\x00-\x1F\x7F]+|"(\\[\x00-\x7F]|[^\x0D"\\])*"))*$`
297297type CompressionMIMEType string
@@ -391,8 +391,8 @@ type LoadBalancerStrategy struct {
391391 // Valid values are: Managed and Unmanaged.
392392 //
393393 // +kubebuilder:default:="Managed"
394- // +kubebuilder:validation:Optional
395- // +optional
394+ // +kubebuilder:validation:Required
395+ // +required
396396 // +default="Managed"
397397 DNSManagementPolicy LoadBalancerDNSManagementPolicy `json:"dnsManagementPolicy,omitempty"`
398398}
@@ -560,8 +560,7 @@ type AWSClassicLoadBalancerParameters struct {
560560
561561// AWSNetworkLoadBalancerParameters holds configuration parameters for an
562562// AWS Network load balancer.
563- type AWSNetworkLoadBalancerParameters struct {
564- }
563+ type AWSNetworkLoadBalancerParameters struct {}
565564
566565// HostNetworkStrategy holds parameters for the HostNetwork endpoint publishing
567566// strategy.
@@ -966,8 +965,7 @@ type SyslogLoggingDestinationParameters struct {
966965
967966// ContainerLoggingDestinationParameters describes parameters for the Container
968967// logging destination type.
969- type ContainerLoggingDestinationParameters struct {
970- }
968+ type ContainerLoggingDestinationParameters struct {}
971969
972970// LoggingDestination describes a destination for log messages.
973971// +union
0 commit comments