Skip to content

Commit

Permalink
Delete dormant and snapshot CRD (kubedb#486)
Browse files Browse the repository at this point in the history
* Delete dormant and snapshot CRD

Signed-off-by: the-redback <[email protected]>

* Bring back descriptions to CRDs

Signed-off-by: Tamal Saha <[email protected]>

* Add halted phase

Signed-off-by: Tamal Saha <[email protected]>

Co-authored-by: Tamal Saha <[email protected]>
  • Loading branch information
the-redback and tamalsaha committed Jan 25, 2020
1 parent e4285d1 commit 3c55223
Show file tree
Hide file tree
Showing 394 changed files with 48,028 additions and 102,605 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ REPO := $(notdir $(shell pwd))
BIN := apimachinery

# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false,maxDescLen=0"
CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false"
# https://github.com/appscodelabs/gengo-builder
CODE_GENERATOR_IMAGE ?= appscode/gengo:release-1.16
API_GROUPS ?= kubedb:v1alpha1 catalog:v1alpha1 config:v1alpha1 dba:v1alpha1
Expand Down
170 changes: 62 additions & 108 deletions api/crds/bindata.go

Large diffs are not rendered by default.

19 changes: 16 additions & 3 deletions api/crds/catalog.kubedb.com_elasticsearchversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,45 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ElasticsearchVersionSpec is the spec for elasticsearch version
properties:
authPlugin:
description: Authentication plugin used by Elasticsearch cluster.
type: string
db:
description: Database Image
properties:
image:
type: string
required:
- image
type: object
deprecated:
description: Deprecated versions usable but regarded as obsolete and
best avoided, typically due to having been superseded.
type: boolean
exporter:
description: Exporter Image
properties:
image:
type: string
required:
- image
type: object
initContainer:
description: Init container Image
properties:
image:
type: string
Expand All @@ -77,23 +90,23 @@ spec:
- yqImage
type: object
podSecurityPolicies:
description: PSP names
properties:
databasePolicyName:
type: string
snapshotterPolicyName:
type: string
required:
- databasePolicyName
- snapshotterPolicyName
type: object
tools:
description: Tools Image
properties:
image:
type: string
required:
- image
type: object
version:
description: Version
type: string
required:
- authPlugin
Expand Down
13 changes: 13 additions & 0 deletions api/crds/catalog.kubedb.com_etcdversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,50 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: EtcdVersionSpec is the spec for postgres version
properties:
db:
description: Database Image
properties:
image:
type: string
required:
- image
type: object
deprecated:
description: Deprecated versions usable but regarded as obsolete and
best avoided, typically due to having been superseded.
type: boolean
exporter:
description: Exporter Image
properties:
image:
type: string
required:
- image
type: object
tools:
description: Tools Image
properties:
image:
type: string
required:
- image
type: object
version:
description: Version
type: string
required:
- db
Expand Down
13 changes: 13 additions & 0 deletions api/crds/catalog.kubedb.com_memcachedversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,50 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: MemcachedVersionSpec is the spec for memcached version
properties:
db:
description: Database Image
properties:
image:
type: string
required:
- image
type: object
deprecated:
description: Deprecated versions usable but regarded as obsolete and
best avoided, typically due to having been superseded.
type: boolean
exporter:
description: Exporter Image
properties:
image:
type: string
required:
- image
type: object
podSecurityPolicies:
description: PSP names
properties:
databasePolicyName:
type: string
required:
- databasePolicyName
type: object
version:
description: Version
type: string
required:
- db
Expand Down
18 changes: 15 additions & 3 deletions api/crds/catalog.kubedb.com_mongodbversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,54 +38,66 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: MongoDBVersionSpec is the spec for mongodb version
properties:
db:
description: Database Image
properties:
image:
type: string
required:
- image
type: object
deprecated:
description: Deprecated versions usable but regarded as obsolete and
best avoided, typically due to having been superseded.
type: boolean
exporter:
description: Exporter Image
properties:
image:
type: string
required:
- image
type: object
initContainer:
description: Init container Image
properties:
image:
type: string
required:
- image
type: object
podSecurityPolicies:
description: PSP names
properties:
databasePolicyName:
type: string
snapshotterPolicyName:
type: string
required:
- databasePolicyName
- snapshotterPolicyName
type: object
tools:
description: Tools Image
properties:
image:
type: string
required:
- image
type: object
version:
description: Version
type: string
required:
- db
Expand Down
18 changes: 15 additions & 3 deletions api/crds/catalog.kubedb.com_mysqlversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,54 +38,66 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: MySQLVersionSpec is the spec for postgres version
properties:
db:
description: Database Image
properties:
image:
type: string
required:
- image
type: object
deprecated:
description: Deprecated versions usable but regarded as obsolete and
best avoided, typically due to having been superseded.
type: boolean
exporter:
description: Exporter Image
properties:
image:
type: string
required:
- image
type: object
initContainer:
description: Init container Image
properties:
image:
type: string
required:
- image
type: object
podSecurityPolicies:
description: PSP names
properties:
databasePolicyName:
type: string
snapshotterPolicyName:
type: string
required:
- databasePolicyName
- snapshotterPolicyName
type: object
tools:
description: Tools Image
properties:
image:
type: string
required:
- image
type: object
version:
description: Version
type: string
required:
- db
Expand Down
14 changes: 14 additions & 0 deletions api/crds/catalog.kubedb.com_perconaxtradbversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,58 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: PerconaXtraDBVersionSpec is the spec for PerconaXtraDB version
properties:
db:
description: Database Image
properties:
image:
type: string
required:
- image
type: object
deprecated:
description: Deprecated versions usable but regarded as obsolete and
best avoided, typically due to having been superseded.
type: boolean
exporter:
description: Exporter Image
properties:
image:
type: string
required:
- image
type: object
initContainer:
description: 'Init container Image TODO: remove if not needed'
properties:
image:
type: string
required:
- image
type: object
podSecurityPolicies:
description: PSP names
properties:
databasePolicyName:
type: string
required:
- databasePolicyName
type: object
version:
description: Version
type: string
required:
- db
Expand Down
Loading

0 comments on commit 3c55223

Please sign in to comment.