mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Remove omitempty from PathType
Signed-off-by: Simon Schneider <github@simon-schneider.eu>
This commit is contained in:
parent
eda1298c47
commit
e72effbf12
1
api/openapi-spec/swagger.json
generated
1
api/openapi-spec/swagger.json
generated
@ -11156,6 +11156,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