mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Remove optional from core docs for 'Type' (#88029)
* Remove optional from core docs for 'Type' * Regenerate protobuf and openapi docs * Regenerate protobuf and openapi docs
This commit is contained in:
parent
498b58eff1
commit
a20ae3953b
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -6955,6 +6955,9 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.LimitRangeList": {
|
||||
|
@ -1921,7 +1921,6 @@ message LimitRange {
|
||||
// LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
|
||||
message LimitRangeItem {
|
||||
// Type of resource that this limit applies to.
|
||||
// +optional
|
||||
optional string type = 1;
|
||||
|
||||
// Max usage constraints on this kind by resource name.
|
||||
|
@ -5209,8 +5209,7 @@ const (
|
||||
// LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
|
||||
type LimitRangeItem struct {
|
||||
// Type of resource that this limit applies to.
|
||||
// +optional
|
||||
Type LimitType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=LimitType"`
|
||||
Type LimitType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=LimitType"`
|
||||
// Max usage constraints on this kind by resource name.
|
||||
// +optional
|
||||
Max ResourceList `json:"max,omitempty" protobuf:"bytes,2,rep,name=max,casttype=ResourceList,castkey=ResourceName"`
|
||||
|
Loading…
Reference in New Issue
Block a user