mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #64996 from roycaihw/optional-crdstatus-conditions
Mark Conditions in CustomResourceDefinitionStatus as optional
This commit is contained in:
commit
d951d19ec4
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -17401,7 +17401,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"conditions",
|
|
||||||
"acceptedNames",
|
"acceptedNames",
|
||||||
"storedVersions"
|
"storedVersions"
|
||||||
],
|
],
|
||||||
@ -18030,7 +18029,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"conditions",
|
|
||||||
"acceptedNames",
|
"acceptedNames",
|
||||||
"storedVersions"
|
"storedVersions"
|
||||||
],
|
],
|
||||||
|
@ -221,6 +221,7 @@ message CustomResourceDefinitionSpec {
|
|||||||
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
||||||
message CustomResourceDefinitionStatus {
|
message CustomResourceDefinitionStatus {
|
||||||
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
||||||
|
// +optional
|
||||||
repeated CustomResourceDefinitionCondition conditions = 1;
|
repeated CustomResourceDefinitionCondition conditions = 1;
|
||||||
|
|
||||||
// AcceptedNames are the names that are actually being used to serve discovery
|
// AcceptedNames are the names that are actually being used to serve discovery
|
||||||
|
@ -295,6 +295,7 @@ type CustomResourceDefinitionCondition struct {
|
|||||||
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
||||||
type CustomResourceDefinitionStatus struct {
|
type CustomResourceDefinitionStatus struct {
|
||||||
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
||||||
|
// +optional
|
||||||
Conditions []CustomResourceDefinitionCondition `json:"conditions" protobuf:"bytes,1,opt,name=conditions"`
|
Conditions []CustomResourceDefinitionCondition `json:"conditions" protobuf:"bytes,1,opt,name=conditions"`
|
||||||
|
|
||||||
// AcceptedNames are the names that are actually being used to serve discovery
|
// AcceptedNames are the names that are actually being used to serve discovery
|
||||||
|
@ -260,6 +260,7 @@ message CustomResourceDefinitionSpec {
|
|||||||
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
||||||
message CustomResourceDefinitionStatus {
|
message CustomResourceDefinitionStatus {
|
||||||
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
||||||
|
// +optional
|
||||||
repeated CustomResourceDefinitionCondition conditions = 1;
|
repeated CustomResourceDefinitionCondition conditions = 1;
|
||||||
|
|
||||||
// AcceptedNames are the names that are actually being used to serve discovery
|
// AcceptedNames are the names that are actually being used to serve discovery
|
||||||
|
@ -337,6 +337,7 @@ type CustomResourceDefinitionCondition struct {
|
|||||||
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
// CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
||||||
type CustomResourceDefinitionStatus struct {
|
type CustomResourceDefinitionStatus struct {
|
||||||
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
// Conditions indicate state for particular aspects of a CustomResourceDefinition
|
||||||
|
// +optional
|
||||||
Conditions []CustomResourceDefinitionCondition `json:"conditions" protobuf:"bytes,1,opt,name=conditions"`
|
Conditions []CustomResourceDefinitionCondition `json:"conditions" protobuf:"bytes,1,opt,name=conditions"`
|
||||||
|
|
||||||
// AcceptedNames are the names that are actually being used to serve discovery
|
// AcceptedNames are the names that are actually being used to serve discovery
|
||||||
|
Loading…
Reference in New Issue
Block a user