From 4f52c1b001c425ab20f5df3b93abcd0fb92d39c6 Mon Sep 17 00:00:00 2001 From: Miguel Ruiz Date: Wed, 11 Aug 2021 08:23:07 +0200 Subject: [PATCH] [bitnami/mariadb-galera] Add extraDeploy (#7184) * [bitnami/mariadb-galera] Add extraDeploy * Update readme --- bitnami/mariadb-galera/Chart.yaml | 2 +- bitnami/mariadb-galera/README.md | 5 +++-- bitnami/mariadb-galera/templates/extra-list.yaml | 4 ++++ bitnami/mariadb-galera/values.yaml | 3 +++ 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 bitnami/mariadb-galera/templates/extra-list.yaml diff --git a/bitnami/mariadb-galera/Chart.yaml b/bitnami/mariadb-galera/Chart.yaml index dd6aba016d..f3baa646da 100644 --- a/bitnami/mariadb-galera/Chart.yaml +++ b/bitnami/mariadb-galera/Chart.yaml @@ -27,4 +27,4 @@ sources: - https://github.com/bitnami/bitnami-docker-mariadb-galera - https://github.com/prometheus/mysqld_exporter - https://mariadb.org -version: 5.12.1 +version: 5.13.0 diff --git a/bitnami/mariadb-galera/README.md b/bitnami/mariadb-galera/README.md index 22c5697c1b..62bb699c9a 100644 --- a/bitnami/mariadb-galera/README.md +++ b/bitnami/mariadb-galera/README.md @@ -74,6 +74,7 @@ The command removes all the Kubernetes components associated with the chart and | `fullnameOverride` | String to fully override common.names.fullname template with a string | `""` | | `schedulerName` | Name of the Kubernetes scheduler (other than default) | `""` | | `clusterDomain` | Kubernetes DNS Domain name to use | `cluster.local` | +| `extraDeploy` | Array of extra objects to deploy with the release (evaluated as a template) | `[]` | | `diagnosticMode.enabled` | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | `false` | | `diagnosticMode.command` | Command to override all containers in the deployment | `[]` | | `diagnosticMode.args` | Args to override all containers in the deployment | `[]` | @@ -85,7 +86,7 @@ The command removes all the Kubernetes components associated with the chart and | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | | `image.registry` | MariaDB Galera image registry | `docker.io` | | `image.repository` | MariaDB Galera image repository | `bitnami/mariadb-galera` | -| `image.tag` | MariaDB Galera image tag (immutable tags are recommended) | `10.5.11-debian-10-r24` | +| `image.tag` | MariaDB Galera image tag (immutable tags are recommended) | `10.5.11-debian-10-r25` | | `image.pullPolicy` | MariaDB Galera image pull policy | `IfNotPresent` | | `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` | | `image.debug` | Specify if debug logs should be enabled | `false` | @@ -199,7 +200,7 @@ The command removes all the Kubernetes components associated with the chart and | `metrics.enabled` | Start a side-car prometheus exporter | `false` | | `metrics.image.registry` | MariaDB Prometheus exporter image registry | `docker.io` | | `metrics.image.repository` | MariaDB Prometheus exporter image repository | `bitnami/mysqld-exporter` | -| `metrics.image.tag` | MariaDB Prometheus exporter image tag (immutable tags are recommended) | `0.13.0-debian-10-r44` | +| `metrics.image.tag` | MariaDB Prometheus exporter image tag (immutable tags are recommended) | `0.13.0-debian-10-r45` | | `metrics.image.pullPolicy` | MariaDB Prometheus exporter image pull policy | `IfNotPresent` | | `metrics.image.pullSecrets` | MariaDB Prometheus exporter image pull secrets | `[]` | | `metrics.extraFlags` | MariaDB Prometheus exporter additional command line flags | `[]` | diff --git a/bitnami/mariadb-galera/templates/extra-list.yaml b/bitnami/mariadb-galera/templates/extra-list.yaml new file mode 100644 index 0000000000..9ac65f9e16 --- /dev/null +++ b/bitnami/mariadb-galera/templates/extra-list.yaml @@ -0,0 +1,4 @@ +{{- range .Values.extraDeploy }} +--- +{{ include "common.tplvalues.render" (dict "value" . "context" $) }} +{{- end }} diff --git a/bitnami/mariadb-galera/values.yaml b/bitnami/mariadb-galera/values.yaml index 235424c090..d00eb492a5 100644 --- a/bitnami/mariadb-galera/values.yaml +++ b/bitnami/mariadb-galera/values.yaml @@ -31,6 +31,9 @@ schedulerName: "" ## @param clusterDomain Kubernetes DNS Domain name to use ## clusterDomain: cluster.local +## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template) +## +extraDeploy: [] ## Diagnostic mode in the deployment ##