Skip to content

Commit

Permalink
Release v0.3.4
Browse files Browse the repository at this point in the history
Signed-off-by: Florentin Dubois <florentin.dubois@clever-cloud.com>
  • Loading branch information
FlorentinDUBOIS committed Dec 20, 2021
1 parent ca75b38 commit 2a6b111
Show file tree
Hide file tree
Showing 14 changed files with 655 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: deployments/operator-lifecycle-manager/0.3.3
context: deployments/operator-lifecycle-manager/0.3.4
push: 'true'
tags: clevercloud/clever-operator-manifest:${{ github.sha }}
file: deployments/operator-lifecycle-manager/0.3.3/bundle.Dockerfile
file: deployments/operator-lifecycle-manager/0.3.4/bundle.Dockerfile
kubernetes-deployment-scripts-validation:
name: Kubernetes validate deployment scripts
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[package]
name = "clever-operator"
description = "A kubernetes operator that expose clever cloud's resources through custom resource definition"
version = "0.3.3"
version = "0.3.4"
edition = "2021"
rust-version = "1.57.0"
authors = ["Florentin Dubois <florentin.dubois@clever-cloud.com>"]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ KUBE_SCORE ?= $(shell which kube-score)
KUBE_VERSION ?= v1.21.0

OLM_SDK ?= $(shell which operator-sdk)
OLM_VERSION ?= v0.3.3
OLM_VERSION ?= v0.3.4

DEPLOY_KUBE ?= deployments/kubernetes/$(KUBE_VERSION)
DEPLOY_OLM ?= deployments/operator-lifecycle-manager/$(OLM_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion deployments/kubernetes/v1.21.0/20-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ spec:
- key: "config.toml"
path: "config.toml"
containers:
- image: clevercloud/clever-operator:e1596f6353bcaebf1e83ff27f36e5dd16b789535
- image: clevercloud/clever-operator:ca75b3893d1e188f28fd9f08e30e9905bd626146
imagePullPolicy: Always
name: clever-operator
volumeMounts:
Expand Down
21 changes: 21 additions & 0 deletions deployments/operator-lifecycle-manager/0.3.4/bundle.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See https://github.com/operator-framework/operator-registry/blob/master/docs/design/operator-bundle.md#Bundle-Dockerfile

FROM scratch

# Core bundle labels.
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=clever-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha

# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/

# Copy files to locations specified by labels.
ADD manifests /manifests/
ADD metadata /metadata/
ADD tests/scorecard /tests/scorecard/

Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
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: []
name: v1
schema:
openAPIV3Schema:
description: "Auto-generated derived type for MongoDbSpec 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,69 @@
---
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: []
name: v1
schema:
openAPIV3Schema:
description: "Auto-generated derived type for MySqlSpec 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: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: postgresqls.api.clever-cloud.com
spec:
group: api.clever-cloud.com
names:
categories: []
kind: PostgreSql
plural: postgresqls
shortNames:
- pg
singular: postgresql
scope: Namespaced
versions:
- additionalPrinterColumns: []
name: v1
schema:
openAPIV3Schema:
description: "Auto-generated derived type for PostgreSqlSpec 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:
- 13
- 12
- 11
- 10
- 96
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: PostgreSql
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: pulsars.api.clever-cloud.com
spec:
group: api.clever-cloud.com
names:
categories: []
kind: Pulsar
plural: pulsars
shortNames:
- pulse
- pul
singular: pulsar
scope: Namespaced
versions:
- additionalPrinterColumns: []
name: v1beta1
schema:
openAPIV3Schema:
description: "Auto-generated derived type for PulsarSpec via `CustomResource`"
properties:
spec:
properties:
instance:
properties:
region:
type: string
required:
- region
type: object
organisation:
type: string
required:
- instance
- organisation
type: object
status:
nullable: true
properties:
addon:
nullable: true
type: string
type: object
required:
- spec
title: Pulsar
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 2a6b111

Please sign in to comment.