Skip to content

Releases: db-operator/db-operator

v2.0.0

14 Dec 19:09
Compare
Choose a tag to compare

Version v2.0.0 is released

What's Changed

  • DB-operator should know which resources are owned by it by @allanger in #65

Notes

Now db-operator is adding labels to all the k8s resource that are used by it, and because of this change, we now can be sure that it's not possible to use the same secret/configmap/etc by several databases in the same time. Also, this change will let us implement templated credentials for DbUsers.

But why are we bumping a major version?

Because a huge part of the database controller was re-written, and what's more important, the reconciliation logic was changed, that might lead to unexpected (at first) behaviour. Previously, db-operator was setting OwnerReferences when k8s resource were created, and it was not a part of regular reconciliation, now, when you change the spec.cleanup value, owner references will be updated too. Because of that, it's possible that db-operator will take over the control over resources that were not created by it. For example, when a secret/database-credentials was present in the cluster before a database/postgres-db was created, and then a Database is with spec.secretReference set to database-credentials and spec.cleanup - to true. This setup will make db-operator add owner references to the secret and from now on the Database is "the owner" of the Secret. That means that once the Database is removed from the cluster, Kubernetes will remove the secret as well.

If you need to have cleanup set to true, but would like something to be preserved after Database removing, you might want to set an additional owner reference on that object.

Full Changelog: v1.17.0...v2.0.0

v1.17.0

19 Nov 17:19
Compare
Choose a tag to compare

Version v1.17.0 is released

Changes

feat: Stop putting instance object to database status | #71

v1.16.2

31 Oct 12:38
Compare
Choose a tag to compare

Version v1.16.2 is released

Changes

feat: Grant all roles to the operator user | #76
build: Publish an image on each push as db-operator-dev | #76

v1.16.1

31 Oct 08:43
Compare
Choose a tag to compare

Version 1.16.1 is released

Changes

fix: Correct protocol for Postgres templates | #75

v1.15.4

31 Oct 08:42
Compare
Choose a tag to compare

Version 1.15.4 is released

Changes

fix: Correct protocol for Postgres templates | #75

v1.16.0

31 Oct 07:18
Compare
Choose a tag to compare

Version 1.16.0 is released

Changes:

chore: Update all the project dependencies | #64
fix: Create and remove user by non-superuser should be possible | #74
test: Add tests that simulate Azure Flexible Postgres server | #74

v1.15.3

21 Oct 13:28
Compare
Choose a tag to compare

Version 1.15.3 is released

Changes:

fix: Validation webhook for credentials.templates | #72

v1.15.2

19 Oct 12:51
Compare
Choose a tag to compare

Version 1.15.2 is released

Changes:

fix: the DbInstance webhook shouldn't panic when used with GSQL instances | #70

v1.14.2

19 Oct 12:50
Compare
Choose a tag to compare

Version 1.14.2 is released

Changes:

fix: the DbInstance webhook shouldn't panic when used with GSQL instances | #70

v1.13.2

19 Oct 12:48
Compare
Choose a tag to compare

Version 1.13.2 is released

Changes:

fix: the DbInstance webhook shouldn't panic when used with GSQL instances | #70