mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
drop CRD spec.scope default value in doc (#84271)
* drop spec.scope default value * generated
This commit is contained in:
parent
b0c0155c19
commit
fc4dc23a45
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -17567,7 +17567,7 @@
|
|||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"scope": {
|
"scope": {
|
||||||
"description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.",
|
"description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"versions": {
|
"versions": {
|
||||||
|
@ -204,7 +204,7 @@ message CustomResourceDefinitionSpec {
|
|||||||
optional CustomResourceDefinitionNames names = 3;
|
optional CustomResourceDefinitionNames names = 3;
|
||||||
|
|
||||||
// scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
// scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
||||||
// Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
|
// Allowed values are `Cluster` and `Namespaced`.
|
||||||
optional string scope = 4;
|
optional string scope = 4;
|
||||||
|
|
||||||
// versions is the list of all API versions of the defined custom resource.
|
// versions is the list of all API versions of the defined custom resource.
|
||||||
|
@ -46,7 +46,7 @@ type CustomResourceDefinitionSpec struct {
|
|||||||
// names specify the resource and kind names for the custom resource.
|
// names specify the resource and kind names for the custom resource.
|
||||||
Names CustomResourceDefinitionNames `json:"names" protobuf:"bytes,3,opt,name=names"`
|
Names CustomResourceDefinitionNames `json:"names" protobuf:"bytes,3,opt,name=names"`
|
||||||
// scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
// scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
||||||
// Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
|
// Allowed values are `Cluster` and `Namespaced`.
|
||||||
Scope ResourceScope `json:"scope" protobuf:"bytes,4,opt,name=scope,casttype=ResourceScope"`
|
Scope ResourceScope `json:"scope" protobuf:"bytes,4,opt,name=scope,casttype=ResourceScope"`
|
||||||
// versions is the list of all API versions of the defined custom resource.
|
// versions is the list of all API versions of the defined custom resource.
|
||||||
// Version names are used to compute the order in which served versions are listed in API discovery.
|
// Version names are used to compute the order in which served versions are listed in API discovery.
|
||||||
|
Loading…
Reference in New Issue
Block a user