mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #103003 from sschne/bugfix/fix-required-pathtype
remove omitempty tag from PathType
This commit is contained in:
commit
d9ef459918
1
api/openapi-spec/swagger.json
generated
1
api/openapi-spec/swagger.json
generated
@ -11159,6 +11159,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"pathType",
|
||||
"backend"
|
||||
],
|
||||
"type": "object"
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user