Make the IngressRoute kind optional
This commit is contained in:
parent
e8ff825ed2
commit
97caf758ef
7 changed files with 35 additions and 10 deletions
|
@ -28,8 +28,9 @@ type Route struct {
|
|||
Match string `json:"match"`
|
||||
// Kind defines the kind of the route.
|
||||
// Rule is the only supported kind.
|
||||
// If not defined, defaults to Rule.
|
||||
// +kubebuilder:validation:Enum=Rule
|
||||
Kind string `json:"kind"`
|
||||
Kind string `json:"kind,omitempty"`
|
||||
// Priority defines the router's priority.
|
||||
// More info: https://doc.traefik.io/traefik/v3.2/routing/routers/#priority
|
||||
Priority int `json:"priority,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue