@@ -293,7 +293,7 @@ type TLSOverridePolicy struct {
293
293
//
294
294
// +optional
295
295
// +kubebuilder:default=Deny
296
- Certificate TLSRouteOverrideType `json:"certificate,omitempty"`
296
+ Certificate * TLSRouteOverrideType `json:"certificate,omitempty"`
297
297
}
298
298
299
299
// GatewayTLSConfig describes a TLS configuration.
@@ -321,7 +321,7 @@ type GatewayTLSConfig struct {
321
321
//
322
322
// +optional
323
323
// +kubebuilder:default=Terminate
324
- Mode TLSModeType `json:"mode,omitempty"`
324
+ Mode * TLSModeType `json:"mode,omitempty"`
325
325
326
326
// CertificateRef is the reference to Kubernetes object that contain a
327
327
// TLS certificate and private key. This certificate MUST be used for
@@ -353,7 +353,7 @@ type GatewayTLSConfig struct {
353
353
//
354
354
// +optional
355
355
// +kubebuilder:default={certificate:Deny}
356
- RouteOverride TLSOverridePolicy `json:"routeOverride,omitempty"`
356
+ RouteOverride * TLSOverridePolicy `json:"routeOverride,omitempty"`
357
357
358
358
// Options are a list of key/value pairs to give extended options
359
359
// to the provider.
@@ -396,7 +396,7 @@ type RouteBindingSelector struct {
396
396
//
397
397
// +optional
398
398
// +kubebuilder:default={from: Same}
399
- Namespaces RouteNamespaces `json:"namespaces,omitempty"`
399
+ Namespaces * RouteNamespaces `json:"namespaces,omitempty"`
400
400
// Selector specifies a set of route labels used for selecting
401
401
// routes to associate with the Gateway. If this Selector is defined,
402
402
// only routes matching the Selector are associated with the Gateway.
@@ -426,7 +426,7 @@ type RouteBindingSelector struct {
426
426
// +kubebuilder:default=networking.x-k8s.io
427
427
// +kubebuilder:validation:MinLength=1
428
428
// +kubebuilder:validation:MaxLength=253
429
- Group string `json:"group,omitempty"`
429
+ Group * string `json:"group,omitempty"`
430
430
// Kind is the kind of the route resource to select.
431
431
//
432
432
// Kind MUST correspond to kinds of routes that are compatible with the
@@ -467,7 +467,7 @@ type RouteNamespaces struct {
467
467
//
468
468
// +optional
469
469
// +kubebuilder:default=Same
470
- From RouteSelectType `json:"from,omitempty"`
470
+ From * RouteSelectType `json:"from,omitempty"`
471
471
472
472
// Selector must be specified when From is set to "Selector". In that case,
473
473
// only Routes in Namespaces matching this Selector will be selected by this
@@ -476,7 +476,7 @@ type RouteNamespaces struct {
476
476
// Support: Core
477
477
//
478
478
// +optional
479
- Selector metav1.LabelSelector `json:"selector,omitempty"`
479
+ Selector * metav1.LabelSelector `json:"selector,omitempty"`
480
480
}
481
481
482
482
// GatewayAddress describes an address that can be bound to a Gateway.
@@ -487,7 +487,7 @@ type GatewayAddress struct {
487
487
//
488
488
// +optional
489
489
// +kubebuilder:default=IPAddress
490
- Type AddressType `json:"type,omitempty"`
490
+ Type * AddressType `json:"type,omitempty"`
491
491
492
492
// Value of the address. The validity of the values will depend
493
493
// on the type and support by the controller.
0 commit comments