From 6ecaa7028d00d25aae565c57fa73a2bf6da56825 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 9 Jul 2024 13:15:08 +0200 Subject: [PATCH] Update db-operator to 2.8.1 (#57) --- charts/db-operator/Chart.yaml | 4 ++-- charts/db-operator/README.md | 3 ++- .../db-operator/templates/crds/kinda.rocks_dbinstances.yaml | 4 ++-- charts/db-operator/templates/crds/kinda.rocks_dbuser.yaml | 3 +++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/db-operator/Chart.yaml b/charts/db-operator/Chart.yaml index 9b80f51..ecf5572 100644 --- a/charts/db-operator/Chart.yaml +++ b/charts/db-operator/Chart.yaml @@ -1,13 +1,13 @@ apiVersion: v2 type: application name: db-operator -version: 1.27.1 +version: 1.27.2 # --------------------------------------------------------------------------------- # -- All supported k8s versions are in the test: # -- https://github.com/db-operator/charts/blob/main/.github/workflows/test.yaml # --------------------------------------------------------------------------------- kubeVersion: ">= 1.22-prerelease" -appVersion: "2.8.0" +appVersion: "2.8.1" description: The DB Operator creates databases and make them available in the cluster via Custom Resource. home: https://github.com/db-operator/db-operator maintainers: diff --git a/charts/db-operator/README.md b/charts/db-operator/README.md index 218e25c..584e1e7 100644 --- a/charts/db-operator/README.md +++ b/charts/db-operator/README.md @@ -1,6 +1,6 @@ # db-operator -![Version: 1.27.0](https://img.shields.io/badge/Version-1.27.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.0](https://img.shields.io/badge/AppVersion-2.8.0-informational?style=flat-square) +![Version: 1.27.2](https://img.shields.io/badge/Version-1.27.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.1](https://img.shields.io/badge/AppVersion-2.8.1-informational?style=flat-square) The DB Operator creates databases and make them available in the cluster via Custom Resource. @@ -103,6 +103,7 @@ We use helm tests feature for testing the chart in CI. Though we know that this | crds.keep | bool | `true` | | | crds.annotations | object | `{}` | | | webhook.enabled | bool | `true` | | +| webhook.podLabels | object | `{}` | | | webhook.serviceAccount.create | bool | `true` | | | webhook.names.mutating | string | `"db-operator-mutating-webhook-configuration"` | | | webhook.names.validating | string | `"db-operator-validating-webhook-configuration"` | | diff --git a/charts/db-operator/templates/crds/kinda.rocks_dbinstances.yaml b/charts/db-operator/templates/crds/kinda.rocks_dbinstances.yaml index 119683a..4b8e25a 100644 --- a/charts/db-operator/templates/crds/kinda.rocks_dbinstances.yaml +++ b/charts/db-operator/templates/crds/kinda.rocks_dbinstances.yaml @@ -256,8 +256,8 @@ spec: - Name - Namespace type: object - allowedPriveleges: - description: A list of priveleges that are allowed to be set as Dbuser's extra priveleges + allowedPrivileges: + description: A list of privileges that are allowed to be set as Dbuser's extra privileges items: type: string type: array diff --git a/charts/db-operator/templates/crds/kinda.rocks_dbuser.yaml b/charts/db-operator/templates/crds/kinda.rocks_dbuser.yaml index 13ce9c6..a788fef 100644 --- a/charts/db-operator/templates/crds/kinda.rocks_dbuser.yaml +++ b/charts/db-operator/templates/crds/kinda.rocks_dbuser.yaml @@ -118,6 +118,9 @@ spec: privilege is added By default is set to true Only applies to Postgres, doesn't have any effect on Mysql + TODO: Default should be false, but not to introduce breaking + changes it's now set to true. It should be changed in + in the next API version type: boolean secretName: description: SecretName name that should be used to save user's credentials