Skip to content

Commit

Permalink
add CleverCloud/clever-operator
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Nov 12, 2023
1 parent e931a75 commit 412847d
Show file tree
Hide file tree
Showing 20 changed files with 920 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ Files: crd-catalog/clastix/capsule/*
Copyright: The clastix/capsule Authors
License: Apache-2.0

Files: crd-catalog/CleverCloud/clever-operator/*
Copyright: The CleverCloud/clever-operator Authors
License: MIT

Files: crd-catalog/cloud-bulldozer/benchmark-operator/*
Copyright: The cloud-bulldozer/benchmark-operator Authors
License: Apache-2.0
Expand Down
7 changes: 7 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,13 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/clastix/capsule/blob/master/config/crd/bases/capsule.clastix.io_tenants.yaml",
],
},
UpstreamSource {
project_name: "CleverCloud/clever-operator",
license: MIT,
urls: &[
"https://github.com/CleverCloud/clever-operator/blob/main/deployments/kubernetes/helm/templates/custom-resource-definition.yaml",
],
},
UpstreamSource {
project_name: "cloud-bulldozer/benchmark-operator",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: configproviders.api.clever-cloud.com
spec:
group: api.clever-cloud.com
names:
categories: []
kind: ConfigProvider
plural: configproviders
shortNames:
- cp
singular: configprovider
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Organisation
jsonPath: .spec.organisation
name: organisation
type: string
- description: Addon
jsonPath: .status.addon
name: addon
type: string
name: v1
schema:
openAPIV3Schema:
description: Auto-generated derived type for Spec via `CustomResource`
properties:
spec:
properties:
organisation:
type: string
variables:
additionalProperties:
type: string
type: object
required:
- organisation
- variables
type: object
status:
nullable: true
properties:
addon:
nullable: true
type: string
type: object
required:
- spec
title: ConfigProvider
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: elasticsearches.api.clever-cloud.com
spec:
group: api.clever-cloud.com
names:
categories: []
kind: ElasticSearch
plural: elasticsearches
shortNames:
- es
singular: elasticsearch
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Organisation
jsonPath: .spec.organisation
name: organisation
type: string
- description: Addon
jsonPath: .status.addon
name: addon
type: string
- description: Region
jsonPath: .spec.instance.region
name: region
type: string
- description: Instance
jsonPath: .spec.instance.plan
name: instance
type: string
- description: Version
jsonPath: .spec.options.version
name: version
type: integer
- description: Cold encryption
jsonPath: .spec.options.encryption
name: encrypted
type: boolean
- description: Kibana
jsonPath: .spec.options.kibana
name: kibana
type: boolean
- description: Application Perfomance Monitoring
jsonPath: .spec.options.apm
name: apm
type: boolean
name: v1
schema:
openAPIV3Schema:
description: Auto-generated derived type for Spec via `CustomResource`
properties:
spec:
properties:
instance:
properties:
plan:
type: string
region:
type: string
required:
- plan
- region
type: object
options:
properties:
apm:
type: boolean
encryption:
type: boolean
kibana:
type: boolean
version:
enum:
- 6
- 7
- 8
type: integer
required:
- apm
- encryption
- kibana
- version
type: object
organisation:
type: string
required:
- instance
- options
- organisation
type: object
status:
nullable: true
properties:
addon:
nullable: true
type: string
type: object
required:
- spec
title: ElasticSearch
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: mongodbs.api.clever-cloud.com
spec:
group: api.clever-cloud.com
names:
categories: []
kind: MongoDb
plural: mongodbs
shortNames:
- mo
singular: mongodb
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Organisation
jsonPath: .spec.organisation
name: organisation
type: string
- description: Addon
jsonPath: .status.addon
name: addon
type: string
- description: Region
jsonPath: .spec.instance.region
name: region
type: string
- description: Instance
jsonPath: .spec.instance.plan
name: instance
type: string
- description: Version
jsonPath: .spec.options.version
name: version
type: integer
- description: Cold encryption
jsonPath: .spec.options.encryption
name: encrypted
type: boolean
name: v1
schema:
openAPIV3Schema:
description: Auto-generated derived type for Spec via `CustomResource`
properties:
spec:
properties:
instance:
properties:
plan:
type: string
region:
type: string
required:
- plan
- region
type: object
options:
properties:
encryption:
type: boolean
version:
enum:
- 403
type: integer
required:
- encryption
- version
type: object
organisation:
type: string
required:
- instance
- options
- organisation
type: object
status:
nullable: true
properties:
addon:
nullable: true
type: string
type: object
required:
- spec
title: MongoDb
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: mysqls.api.clever-cloud.com
spec:
group: api.clever-cloud.com
names:
categories: []
kind: MySql
plural: mysqls
shortNames:
- my
singular: mysql
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Organisation
jsonPath: .spec.organisation
name: organisation
type: string
- description: Addon
jsonPath: .status.addon
name: addon
type: string
- description: Region
jsonPath: .spec.instance.region
name: region
type: string
- description: Instance
jsonPath: .spec.instance.plan
name: instance
type: string
- description: Version
jsonPath: .spec.options.version
name: version
type: integer
- description: Cold encryption
jsonPath: .spec.options.encryption
name: encrypted
type: boolean
name: v1
schema:
openAPIV3Schema:
description: Auto-generated derived type for Spec via `CustomResource`
properties:
spec:
properties:
instance:
properties:
plan:
type: string
region:
type: string
required:
- plan
- region
type: object
options:
properties:
encryption:
type: boolean
version:
enum:
- 57
- 80
type: integer
required:
- encryption
- version
type: object
organisation:
type: string
required:
- instance
- options
- organisation
type: object
status:
nullable: true
properties:
addon:
nullable: true
type: string
type: object
required:
- spec
title: MySql
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 412847d

Please sign in to comment.