drop CRD spec.scope default value in doc (#84271)

* drop spec.scope default value

* generated
This commit is contained in:
Daniel (Shijun) Qian 2019-10-25 02:56:21 +08:00 committed by Kubernetes Prow Robot
parent b0c0155c19
commit fc4dc23a45
3 changed files with 3 additions and 3 deletions

View File

@ -17567,7 +17567,7 @@
"type": "boolean"
},
"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"
},
"versions": {

View File

@ -204,7 +204,7 @@ message CustomResourceDefinitionSpec {
optional CustomResourceDefinitionNames names = 3;
// 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;
// versions is the list of all API versions of the defined custom resource.

View File

@ -46,7 +46,7 @@ type CustomResourceDefinitionSpec struct {
// names specify the resource and kind names for the custom resource.
Names CustomResourceDefinitionNames `json:"names" protobuf:"bytes,3,opt,name=names"`
// 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"`
// 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.