Skip to content

Commit

Permalink
Use controller-tools@v0.2.2 to generate structural schema (#464)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Nov 15, 2019
1 parent 6788ee9 commit b4b5db7
Show file tree
Hide file tree
Showing 25 changed files with 665 additions and 10,682 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -222,7 +222,7 @@ gen-crd-protos-%:
manifests: gen-crds patch-crds label-crds

.PHONY: gen
gen: clientset openapi manifests gen-crd-protos
gen: clientset gen-crd-protos openapi manifests

fmt: $(BUILD_DIRS)
@docker run \
Expand Down
371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_elasticsearchversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_etcdversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_memcachedversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_mongodbversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_mysqlversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_perconaxtradbversions.yaml

Large diffs are not rendered by default.

372 changes: 3 additions & 369 deletions api/crds/catalog.kubedb.com_pgbouncerversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_postgresversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_proxysqlversions.yaml

Large diffs are not rendered by default.

371 changes: 2 additions & 369 deletions api/crds/catalog.kubedb.com_redisversions.yaml

Large diffs are not rendered by default.

1,887 changes: 282 additions & 1,605 deletions api/crds/kubedb.com_dormantdatabases.yaml

Large diffs are not rendered by default.

512 changes: 38 additions & 474 deletions api/crds/kubedb.com_elasticsearches.yaml

Large diffs are not rendered by default.

496 changes: 34 additions & 462 deletions api/crds/kubedb.com_etcds.yaml

Large diffs are not rendered by default.

432 changes: 18 additions & 414 deletions api/crds/kubedb.com_mariadbs.yaml

Large diffs are not rendered by default.

440 changes: 20 additions & 420 deletions api/crds/kubedb.com_memcacheds.yaml

Large diffs are not rendered by default.

696 changes: 84 additions & 612 deletions api/crds/kubedb.com_mongodbs.yaml

Large diffs are not rendered by default.

497 changes: 35 additions & 462 deletions api/crds/kubedb.com_mysqls.yaml

Large diffs are not rendered by default.

432 changes: 18 additions & 414 deletions api/crds/kubedb.com_perconaxtradbs.yaml

Large diffs are not rendered by default.

432 changes: 18 additions & 414 deletions api/crds/kubedb.com_pgbouncers.yaml

Large diffs are not rendered by default.

496 changes: 34 additions & 462 deletions api/crds/kubedb.com_postgreses.yaml

Large diffs are not rendered by default.

432 changes: 18 additions & 414 deletions api/crds/kubedb.com_proxysqls.yaml

Large diffs are not rendered by default.

432 changes: 18 additions & 414 deletions api/crds/kubedb.com_redises.yaml

Large diffs are not rendered by default.

435 changes: 18 additions & 417 deletions api/crds/kubedb.com_snapshots.yaml

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions hack/crd-patch.json
@@ -1,12 +1,13 @@
[
{
"op": "add",
"path": "/spec/validation/openAPIV3Schema/properties/metadata/properties/name/maxLength",
"value": 63
},
{
"op": "add",
"path": "/spec/validation/openAPIV3Schema/properties/metadata/properties/name/pattern",
"value": "^[a-z]([-a-z0-9]*[a-z0-9])?$"
"path": "/spec/validation/openAPIV3Schema/properties/metadata/properties",
"value": {
"name": {
"maxLength": 63,
"pattern": "^[a-z]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
}
}
]

0 comments on commit b4b5db7

Please sign in to comment.