Skip to content

Commit a20ae39

Browse files
authored
Remove optional from core docs for 'Type' (kubernetes#88029)
* Remove optional from core docs for 'Type' * Regenerate protobuf and openapi docs * Regenerate protobuf and openapi docs
1 parent 498b58e commit a20ae39

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

api/openapi-spec/swagger.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/generated.proto

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5209,8 +5209,7 @@ const (
52095209
// LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
52105210
type LimitRangeItem struct {
52115211
// Type of resource that this limit applies to.
5212-
// +optional
5213-
Type LimitType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=LimitType"`
5212+
Type LimitType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=LimitType"`
52145213
// Max usage constraints on this kind by resource name.
52155214
// +optional
52165215
Max ResourceList `json:"max,omitempty" protobuf:"bytes,2,rep,name=max,casttype=ResourceList,castkey=ResourceName"`

0 commit comments

Comments
 (0)