Skip to content

Commit d92846f

Browse files
authored
Bump db-operator version to 2.17.0 (#86)
1 parent c5cce3b commit d92846f

File tree

4 files changed

+50
-37
lines changed

4 files changed

+50
-37
lines changed

charts/db-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
apiVersion: v2
22
type: application
33
name: db-operator
4-
version: 2.0.0
4+
version: 2.1.0
55

66
# ---------------------------------------------------------------------------------
77
# -- All supported k8s versions are in the test:
88
# -- https://github.com/db-operator/charts/blob/main/.github/workflows/test.yaml
99
# ---------------------------------------------------------------------------------
1010
kubeVersion: ">= 1.30-prerelease"
11-
appVersion: "v2.16.0"
11+
appVersion: "2.17.0"
1212
description: The DB Operator creates databases and make them available in the cluster via Custom Resource.
1313
home: https://github.com/db-operator/db-operator
1414
maintainers:

charts/db-operator/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The Release name {{ .Release.Name }}.
2424
-----------------------------------------------------------------------
2525
Breaking changes and migration paths:
2626

27-
From {{ .Chart.Version }}, the "v" prefix will not be
27+
From 2.0.0, the "v" prefix will not be
2828
automatically added to the image tag. If you are overriding the image
2929
tag through ".Values.image.tag" and are relying on this behaviour,
3030
please add the "v" prefix manually to the Helm value.

charts/db-operator/templates/crds/kinda.rocks_databases.yaml

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ spec:
8888
description: DatabaseSpec defines the desired state of Database
8989
properties:
9090
backup:
91-
description: DatabaseBackup defines the desired state of backup and
92-
schedule
91+
description: DatabaseBackup defines the desired state of backup and schedule
9392
properties:
9493
cron:
9594
type: string
@@ -117,16 +116,13 @@ spec:
117116
instance:
118117
type: string
119118
postgres:
120-
description: Postgres struct should be used to provide resource that
121-
only applicable to postgres
119+
description: Postgres struct should be used to provide resource that only applicable to postgres
122120
properties:
123121
dropPublicSchema:
124-
description: If set to true, the public schema will be dropped
125-
after the database creation
122+
description: If set to true, the public schema will be dropped after the database creation
126123
type: boolean
127124
schemas:
128-
description: Specify schemas to be created. The user created by
129-
db-operator will have all access on them.
125+
description: Specify schemas to be created. The user created by db-operator will have all access on them.
130126
items:
131127
type: string
132128
type: array
@@ -185,18 +181,15 @@ spec:
185181
- Namespace
186182
type: object
187183
backup:
188-
description: DbInstanceBackup defines name of google bucket
189-
to use for storing database dumps for backup when backup
190-
is enabled
184+
description: DbInstanceBackup defines name of google bucket to use for storing database dumps for backup when backup is enabled
191185
properties:
192186
bucket:
193187
type: string
194188
required:
195189
- bucket
196190
type: object
197191
engine:
198-
description: 'Important: Run "make generate" to regenerate
199-
code after modifying this file'
192+
description: 'Important: Run "make generate" to regenerate code after modifying this file'
200193
type: string
201194
generic:
202195
description: |-
@@ -268,14 +261,12 @@ spec:
268261
- enabled
269262
type: object
270263
sslConnection:
271-
description: DbInstanceSSLConnection defines weather connection
272-
from db-operator to instance has to be ssl or not
264+
description: DbInstanceSSLConnection defines weather connection from db-operator to instance has to be ssl or not
273265
properties:
274266
enabled:
275267
type: boolean
276268
skip-verify:
277-
description: SkipVerity use SSL connection, but don't
278-
check against a CA
269+
description: SkipVerity use SSL connection, but don't check against a CA
279270
type: boolean
280271
required:
281272
- enabled
@@ -297,8 +288,7 @@ spec:
297288
type: string
298289
type: object
299290
phase:
300-
description: 'Important: Run "make generate" to regenerate
301-
code after modifying this file'
291+
description: 'Important: Run "make generate" to regenerate code after modifying this file'
302292
type: string
303293
status:
304294
type: boolean
@@ -394,8 +384,7 @@ spec:
394384
description: DatabaseSpec defines the desired state of Database
395385
properties:
396386
backup:
397-
description: DatabaseBackup defines the desired state of backup and
398-
schedule
387+
description: DatabaseBackup defines the desired state of backup and schedule
399388
properties:
400389
cron:
401390
type: string
@@ -413,11 +402,9 @@ spec:
413402
TODO(@allanger): Field .spec.secretName should be moved here in the v1beta2 version
414403
properties:
415404
templates:
416-
description: Templates to add custom entries to ConfigMaps and
417-
Secrets
405+
description: Templates to add custom entries to ConfigMaps and Secrets
418406
items:
419-
description: Tempaltes to add custom entries to ConfigMaps and
420-
Secrets
407+
description: Tempaltes to add custom entries to ConfigMaps and Secrets
421408
properties:
422409
name:
423410
type: string
@@ -434,23 +421,32 @@ spec:
434421
type: object
435422
deletionProtected:
436423
type: boolean
424+
extraGrants:
425+
items:
426+
properties:
427+
accessType:
428+
type: string
429+
user:
430+
type: string
431+
required:
432+
- accessType
433+
- user
434+
type: object
435+
type: array
437436
instance:
438437
type: string
439438
postgres:
440-
description: Postgres struct should be used to provide resource that
441-
only applicable to postgres
439+
description: Postgres struct should be used to provide resource that only applicable to postgres
442440
properties:
443441
dropPublicSchema:
444-
description: If set to true, the public schema will be dropped
445-
after the database creation
442+
description: If set to true, the public schema will be dropped after the database creation
446443
type: boolean
447444
extensions:
448445
items:
449446
type: string
450447
type: array
451448
schemas:
452-
description: Specify schemas to be created. The user created by
453-
db-operator will have all access on them.
449+
description: Specify schemas to be created. The user created by db-operator will have all access on them.
454450
items:
455451
type: string
456452
type: array
@@ -477,6 +473,18 @@ spec:
477473
type: string
478474
engine:
479475
type: string
476+
extraGrants:
477+
items:
478+
properties:
479+
accessType:
480+
type: string
481+
user:
482+
type: string
483+
required:
484+
- accessType
485+
- user
486+
type: object
487+
type: array
480488
monitorUserSecret:
481489
type: string
482490
operatorVersion:

charts/db-operator/templates/crds/kinda.rocks_dbinstances.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ spec:
256256
- Name
257257
- Namespace
258258
type: object
259+
allowExtraGrants:
260+
description: |-
261+
If set to true, extra grants are enabled on the databases
262+
making it possible to provide access to any user on the database instance
263+
type: boolean
259264
allowedPrivileges:
260265
description: A list of privileges that are allowed to be set as Dbuser's extra privileges
261266
items:
@@ -275,7 +280,7 @@ spec:
275280
generic:
276281
description: |-
277282
GenericInstance is used when instance type is generic
278-
and describes necessary informations to use instance
283+
and describes necessary information to use instance
279284
generic instance can be any backend, it must be reachable by described address and port
280285
properties:
281286
backupHost:
@@ -387,12 +392,12 @@ spec:
387392
- enabled
388393
type: object
389394
sslConnection:
390-
description: DbInstanceSSLConnection defines weather connection from db-operator to instance has to be ssl or not
395+
description: DbInstanceSSLConnection defines whether connection from db-operator to instance has to be ssl or not
391396
properties:
392397
enabled:
393398
type: boolean
394399
skip-verify:
395-
description: SkipVerity use SSL connection, but don't check against a CA
400+
description: SkipVerify use SSL connection, but don't check against a CA
396401
type: boolean
397402
required:
398403
- enabled

0 commit comments

Comments
 (0)