Skip to content

Commit 7684ae7

Browse files
Release v0.3.5
Signed-off-by: Florentin Dubois <florentin.dubois@clever-cloud.com>
1 parent 6d248d2 commit 7684ae7

14 files changed

+826
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ jobs:
121121
password: ${{ secrets.DOCKERHUB_TOKEN }}
122122
- uses: docker/build-push-action@v2
123123
with:
124-
context: deployments/operator-lifecycle-manager/0.3.4
124+
context: deployments/operator-lifecycle-manager/0.3.5
125125
push: 'true'
126126
tags: clevercloud/clever-operator-manifest:${{ github.sha }}
127-
file: deployments/operator-lifecycle-manager/0.3.4/bundle.Dockerfile
127+
file: deployments/operator-lifecycle-manager/0.3.5/bundle.Dockerfile
128128
kubernetes-deployment-scripts-validation:
129129
name: Kubernetes validate deployment scripts
130130
runs-on: ubuntu-latest

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[package]
44
name = "clever-operator"
55
description = "A kubernetes operator that expose clever cloud's resources through custom resource definition"
6-
version = "0.3.4"
6+
version = "0.3.5"
77
edition = "2021"
88
rust-version = "1.57.0"
99
authors = ["Florentin Dubois <florentin.dubois@clever-cloud.com>"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ KUBE_SCORE ?= $(shell which kube-score)
1414
KUBE_VERSION ?= v1.21.0
1515

1616
OLM_SDK ?= $(shell which operator-sdk)
17-
OLM_VERSION ?= v0.3.4
17+
OLM_VERSION ?= v0.3.5
1818

1919
DEPLOY_KUBE ?= deployments/kubernetes/$(KUBE_VERSION)
2020
DEPLOY_OLM ?= deployments/operator-lifecycle-manager/$(OLM_VERSION)

deployments/kubernetes/v1.21.0/20-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ spec:
140140
- key: "config.toml"
141141
path: "config.toml"
142142
containers:
143-
- image: clevercloud/clever-operator:ca75b3893d1e188f28fd9f08e30e9905bd626146
143+
- image: clevercloud/clever-operator:6d248d22533f6fca2f52ceb5f87c32049312b510
144144
imagePullPolicy: Always
145145
name: clever-operator
146146
volumeMounts:
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://github.com/operator-framework/operator-registry/blob/master/docs/design/operator-bundle.md#Bundle-Dockerfile
2+
3+
FROM scratch
4+
5+
# Core bundle labels.
6+
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
7+
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
8+
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
9+
LABEL operators.operatorframework.io.bundle.package.v1=clever-operator
10+
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
11+
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
12+
13+
# Labels for testing.
14+
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
15+
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
16+
17+
# Copy files to locations specified by labels.
18+
ADD manifests /manifests/
19+
ADD metadata /metadata/
20+
ADD tests/scorecard /tests/scorecard/
21+
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: mongodbs.api.clever-cloud.com
6+
spec:
7+
group: api.clever-cloud.com
8+
names:
9+
categories: []
10+
kind: MongoDb
11+
plural: mongodbs
12+
shortNames:
13+
- mo
14+
singular: mongodb
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns: []
18+
name: v1
19+
schema:
20+
openAPIV3Schema:
21+
description: "Auto-generated derived type for MongoDbSpec via `CustomResource`"
22+
properties:
23+
spec:
24+
properties:
25+
instance:
26+
properties:
27+
plan:
28+
type: string
29+
region:
30+
type: string
31+
required:
32+
- plan
33+
- region
34+
type: object
35+
options:
36+
properties:
37+
encryption:
38+
type: boolean
39+
version:
40+
enum:
41+
- 403
42+
type: integer
43+
required:
44+
- encryption
45+
- version
46+
type: object
47+
organisation:
48+
type: string
49+
required:
50+
- instance
51+
- options
52+
- organisation
53+
type: object
54+
status:
55+
nullable: true
56+
properties:
57+
addon:
58+
nullable: true
59+
type: string
60+
type: object
61+
required:
62+
- spec
63+
title: MongoDb
64+
type: object
65+
served: true
66+
storage: true
67+
subresources:
68+
status: {}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: mysqls.api.clever-cloud.com
6+
spec:
7+
group: api.clever-cloud.com
8+
names:
9+
categories: []
10+
kind: MySql
11+
plural: mysqls
12+
shortNames:
13+
- my
14+
singular: mysql
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns: []
18+
name: v1
19+
schema:
20+
openAPIV3Schema:
21+
description: "Auto-generated derived type for MySqlSpec via `CustomResource`"
22+
properties:
23+
spec:
24+
properties:
25+
instance:
26+
properties:
27+
plan:
28+
type: string
29+
region:
30+
type: string
31+
required:
32+
- plan
33+
- region
34+
type: object
35+
options:
36+
properties:
37+
encryption:
38+
type: boolean
39+
version:
40+
enum:
41+
- 57
42+
- 80
43+
type: integer
44+
required:
45+
- encryption
46+
- version
47+
type: object
48+
organisation:
49+
type: string
50+
required:
51+
- instance
52+
- options
53+
- organisation
54+
type: object
55+
status:
56+
nullable: true
57+
properties:
58+
addon:
59+
nullable: true
60+
type: string
61+
type: object
62+
required:
63+
- spec
64+
title: MySql
65+
type: object
66+
served: true
67+
storage: true
68+
subresources:
69+
status: {}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: postgresqls.api.clever-cloud.com
6+
spec:
7+
group: api.clever-cloud.com
8+
names:
9+
categories: []
10+
kind: PostgreSql
11+
plural: postgresqls
12+
shortNames:
13+
- pg
14+
singular: postgresql
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns: []
18+
name: v1
19+
schema:
20+
openAPIV3Schema:
21+
description: "Auto-generated derived type for PostgreSqlSpec via `CustomResource`"
22+
properties:
23+
spec:
24+
properties:
25+
instance:
26+
properties:
27+
plan:
28+
type: string
29+
region:
30+
type: string
31+
required:
32+
- plan
33+
- region
34+
type: object
35+
options:
36+
properties:
37+
encryption:
38+
type: boolean
39+
version:
40+
enum:
41+
- 13
42+
- 12
43+
- 11
44+
- 10
45+
- 96
46+
type: integer
47+
required:
48+
- encryption
49+
- version
50+
type: object
51+
organisation:
52+
type: string
53+
required:
54+
- instance
55+
- options
56+
- organisation
57+
type: object
58+
status:
59+
nullable: true
60+
properties:
61+
addon:
62+
nullable: true
63+
type: string
64+
type: object
65+
required:
66+
- spec
67+
title: PostgreSql
68+
type: object
69+
served: true
70+
storage: true
71+
subresources:
72+
status: {}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: pulsars.api.clever-cloud.com
6+
spec:
7+
group: api.clever-cloud.com
8+
names:
9+
categories: []
10+
kind: Pulsar
11+
plural: pulsars
12+
shortNames:
13+
- pulse
14+
- pul
15+
singular: pulsar
16+
scope: Namespaced
17+
versions:
18+
- additionalPrinterColumns: []
19+
name: v1beta1
20+
schema:
21+
openAPIV3Schema:
22+
description: "Auto-generated derived type for PulsarSpec via `CustomResource`"
23+
properties:
24+
spec:
25+
properties:
26+
instance:
27+
properties:
28+
region:
29+
type: string
30+
required:
31+
- region
32+
type: object
33+
organisation:
34+
type: string
35+
required:
36+
- instance
37+
- organisation
38+
type: object
39+
status:
40+
nullable: true
41+
properties:
42+
addon:
43+
nullable: true
44+
type: string
45+
type: object
46+
required:
47+
- spec
48+
title: Pulsar
49+
type: object
50+
served: true
51+
storage: true
52+
subresources:
53+
status: {}

0 commit comments

Comments
 (0)