Skip to content

Commit

Permalink
Fix type names and definition
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed May 19, 2020
1 parent 4c7c507 commit 2c9ae14
Show file tree
Hide file tree
Showing 15 changed files with 1,142 additions and 1,898 deletions.
6 changes: 3 additions & 3 deletions api/crds/bindata.go

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions api/crds/catalog.kubedb.com_mysqlversions.yaml
Expand Up @@ -108,32 +108,32 @@ spec:
description: upgrade constraints
properties:
blacklist:
description: list of all rejected version for modification request
description: List of all rejected version for modification request
properties:
groupReplication:
description: list of all rejected version for groupReplication
description: List of all rejected version for groupReplication
modification request
items:
type: string
type: array
standAlone:
description: list of all rejected version for standAlone modification
standalone:
description: List of all rejected version for standalone modification
request
items:
type: string
type: array
type: object
whitelist:
description: list of all accepted version for modification request
description: List of all accepted version for modification request
properties:
groupReplication:
description: list of all accepted version for groupReplication
description: List of all accepted version for groupReplication
modification request. empty indicates all accepted
items:
type: string
type: array
standAlone:
description: list of all accepted version for standAlone modification
standalone:
description: List of all accepted version for standalone modification
request. empty indicates all accepted
items:
type: string
Expand Down
1,062 changes: 1 addition & 1,061 deletions api/crds/dba.kubedb.com_mysqlmodificationrequests.yaml

Large diffs are not rendered by default.

39 changes: 28 additions & 11 deletions api/openapi-spec/swagger.json
Expand Up @@ -26950,14 +26950,14 @@
"type": "object",
"properties": {
"groupReplication": {
"description": "list of all rejected version for groupReplication modification request",
"description": "List of all rejected version for groupReplication modification request",
"type": "array",
"items": {
"type": "string"
}
},
"standAlone": {
"description": "list of all rejected version for standAlone modification request",
"standalone": {
"description": "List of all rejected version for standalone modification request",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -27542,15 +27542,15 @@
}
}
},
"dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLModificationRequestUpgradeConstraints": {
"dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLUpgradeConstraints": {
"type": "object",
"properties": {
"blacklist": {
"description": "list of all rejected version for modification request",
"description": "List of all rejected version for modification request",
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.Blacklist"
},
"whitelist": {
"description": "list of all accepted version for modification request",
"description": "List of all accepted version for modification request",
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.Whitelist"
}
}
Expand Down Expand Up @@ -27716,7 +27716,7 @@
},
"upgradeConstraints": {
"description": "upgrade constraints",
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLModificationRequestUpgradeConstraints"
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLUpgradeConstraints"
},
"version": {
"description": "Version",
Expand Down Expand Up @@ -28274,21 +28274,38 @@
"type": "object",
"properties": {
"groupReplication": {
"description": "list of all accepted version for groupReplication modification request. empty indicates all accepted",
"description": "List of all accepted version for groupReplication modification request. empty indicates all accepted",
"type": "array",
"items": {
"type": "string"
}
},
"standAlone": {
"description": "list of all accepted version for standAlone modification request. empty indicates all accepted",
"standalone": {
"description": "List of all accepted version for standalone modification request. empty indicates all accepted",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"dev.kubedb.apimachinery.apis.dba.v1alpha1.ContainerResources": {
"description": "Resources requested by a single application container",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
"type": "string"
},
"resources": {
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements"
}
}
},
"dev.kubedb.apimachinery.apis.dba.v1alpha1.ElasticsearchModificationRequest": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -29295,7 +29312,7 @@
"description": "Containers represents the containers specification for scaling the requested resources.",
"type": "array",
"items": {
"$ref": "#/definitions/io.k8s.api.core.v1.Container"
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.dba.v1alpha1.ContainerResources"
}
}
}
Expand Down

0 comments on commit 2c9ae14

Please sign in to comment.