Remove omitempty from PathType

Signed-off-by: Simon Schneider <github@simon-schneider.eu>
This commit is contained in:
Simon Schneider 2021-06-18 20:15:50 +02:00
parent eda1298c47
commit e72effbf12
2 changed files with 2 additions and 1 deletions

View File

@ -11156,6 +11156,7 @@
}
},
"required": [
"pathType",
"backend"
],
"type": "object"

View File

@ -426,7 +426,7 @@ type HTTPIngressPath struct {
// the IngressClass. Implementations can treat this as a separate PathType
// or treat it identically to Prefix or Exact path types.
// Implementations are required to support all path types.
PathType *PathType `json:"pathType,omitempty" protobuf:"bytes,3,opt,name=pathType"`
PathType *PathType `json:"pathType" protobuf:"bytes,3,opt,name=pathType"`
// Backend defines the referenced service endpoint to which the traffic
// will be forwarded to.