-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate both v1beta1 and v1 CRD YAML (#523)
Signed-off-by: Tamal Saha <tamal@appscode.com>
- Loading branch information
Showing
116 changed files
with
110,844 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
127 changes: 127 additions & 0 deletions
127
api/crds/catalog.kubedb.com_elasticsearchversions.v1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/name: kubedb | ||
name: elasticsearchversions.catalog.kubedb.com | ||
spec: | ||
group: catalog.kubedb.com | ||
names: | ||
categories: | ||
- datastore | ||
- kubedb | ||
- appscode | ||
kind: ElasticsearchVersion | ||
listKind: ElasticsearchVersionList | ||
plural: elasticsearchversions | ||
shortNames: | ||
- esversion | ||
singular: elasticsearchversion | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.version | ||
name: Version | ||
type: string | ||
- jsonPath: .spec.db.image | ||
name: DB_IMAGE | ||
type: string | ||
- jsonPath: .spec.authPlugin | ||
name: AUTH_PLUGIN | ||
type: string | ||
- jsonPath: .spec.deprecated | ||
name: Deprecated | ||
type: boolean | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
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. | ||
enum: | ||
- SearchGuard | ||
- None | ||
- X-Pack | ||
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 | ||
yqImage: | ||
type: string | ||
required: | ||
- image | ||
- yqImage | ||
type: object | ||
podSecurityPolicies: | ||
description: PSP names | ||
properties: | ||
databasePolicyName: | ||
type: string | ||
required: | ||
- databasePolicyName | ||
type: object | ||
tools: | ||
description: Tools Image | ||
properties: | ||
image: | ||
type: string | ||
required: | ||
- image | ||
type: object | ||
version: | ||
description: Version | ||
type: string | ||
required: | ||
- authPlugin | ||
- db | ||
- exporter | ||
- initContainer | ||
- podSecurityPolicies | ||
- tools | ||
- version | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/name: kubedb | ||
name: etcdversions.catalog.kubedb.com | ||
spec: | ||
group: catalog.kubedb.com | ||
names: | ||
categories: | ||
- datastore | ||
- kubedb | ||
- appscode | ||
kind: EtcdVersion | ||
listKind: EtcdVersionList | ||
plural: etcdversions | ||
shortNames: | ||
- etcversion | ||
singular: etcdversion | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.version | ||
name: Version | ||
type: string | ||
- jsonPath: .spec.db.image | ||
name: DB_IMAGE | ||
type: string | ||
- jsonPath: .spec.deprecated | ||
name: Deprecated | ||
type: boolean | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
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 | ||
- exporter | ||
- tools | ||
- version | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/name: kubedb | ||
name: memcachedversions.catalog.kubedb.com | ||
spec: | ||
group: catalog.kubedb.com | ||
names: | ||
categories: | ||
- datastore | ||
- kubedb | ||
- appscode | ||
kind: MemcachedVersion | ||
listKind: MemcachedVersionList | ||
plural: memcachedversions | ||
shortNames: | ||
- mcversion | ||
singular: memcachedversion | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.version | ||
name: Version | ||
type: string | ||
- jsonPath: .spec.db.image | ||
name: DB_IMAGE | ||
type: string | ||
- jsonPath: .spec.deprecated | ||
name: Deprecated | ||
type: boolean | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
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 | ||
- exporter | ||
- podSecurityPolicies | ||
- version | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: {} |
Oops, something went wrong.