diff --git a/bitnami/mariadb-galera/Chart.yaml b/bitnami/mariadb-galera/Chart.yaml index d095c96ca..bcae02fae 100644 --- a/bitnami/mariadb-galera/Chart.yaml +++ b/bitnami/mariadb-galera/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mariadb-galera -version: 0.3.0 +version: 0.3.1 appVersion: 10.3.18 description: MariaDB Galera is a multi-master database cluster solution for synchronous replication and high availability. keywords: diff --git a/bitnami/mariadb-galera/README.md b/bitnami/mariadb-galera/README.md index 0e855b347..164612451 100644 --- a/bitnami/mariadb-galera/README.md +++ b/bitnami/mariadb-galera/README.md @@ -58,11 +58,11 @@ The command removes all the Kubernetes components associated with the chart and The following table lists the configurable parameters of the MariaDB Galera chart and their default values. -| Parameter | Description | Default | +| Parameter | Description | Default | |--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------| | `global.imageRegistry` | Global Docker image registry | `nil` | | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | -| `global.storageClass` | Global storage class for dynamic provisioning | `nil` | +| `global.storageClass` | Global storage class for dynamic provisioning | `nil` | | `image.registry` | MariaDB Galera image registry | `docker.io` | | `image.repository` | MariaDB Galera Image name | `bitnami/mariadb-galera` | | `image.tag` | MariaDB Galera Image tag | `{TAG_NAME}` | @@ -79,6 +79,7 @@ The following table lists the configurable parameters of the MariaDB Galera char | `service.loadBalancerIP` | `loadBalancerIP` if service type is `LoadBalancer` | `nil` | | `service.loadBalancerSourceRanges` | Address that are allowed when svc is `LoadBalancer` | `[]` | | `service.annotations` | Additional annotations for MariaDB Galera service | `{}` | +| `clusterDomain` | Kubernetes DNS Domain name to use | `cluster.local` | | `serviceAccount.create` | Specify whether a ServiceAccount should be created | `false` | | `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the mariadb-galera.fullname template | | `rbac.create` | Specify whether RBAC resources should be created and used | `false` | diff --git a/bitnami/mariadb-galera/templates/NOTES.txt b/bitnami/mariadb-galera/templates/NOTES.txt index d43f97d50..e33262c6f 100644 --- a/bitnami/mariadb-galera/templates/NOTES.txt +++ b/bitnami/mariadb-galera/templates/NOTES.txt @@ -9,7 +9,7 @@ Tip: MariaDB can be accessed via port "{{ .Values.service.port }}" on the following DNS name from within your cluster: - {{ template "mariadb-galera.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local + {{ template "mariadb-galera.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }} To obtain the password for the MariaDB "root" user run the following command: diff --git a/bitnami/mariadb-galera/templates/statefulset.yaml b/bitnami/mariadb-galera/templates/statefulset.yaml index f1cfaf43e..801c0774e 100644 --- a/bitnami/mariadb-galera/templates/statefulset.yaml +++ b/bitnami/mariadb-galera/templates/statefulset.yaml @@ -90,7 +90,7 @@ spec: - name: MARIADB_GALERA_CLUSTER_NAME value: {{ .Values.galera.name | quote }} - name: MARIADB_GALERA_CLUSTER_ADDRESS - value: "gcomm://{{ template "mariadb-galera.fullname" . }}-headless.{{ .Release.Namespace }}.svc.cluster.local" + value: "gcomm://{{ template "mariadb-galera.fullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}" - name: MARIADB_ROOT_PASSWORD valueFrom: secretKeyRef: diff --git a/bitnami/mariadb-galera/values-production.yaml b/bitnami/mariadb-galera/values-production.yaml index cd407fa8e..a57a043f9 100644 --- a/bitnami/mariadb-galera/values-production.yaml +++ b/bitnami/mariadb-galera/values-production.yaml @@ -76,6 +76,10 @@ service: ## annotations: {} +## Specifies the Kubernetes Cluster's Domain Name. +## +clusterDomain: cluster.local + ## Pods Service Account ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ ## diff --git a/bitnami/mariadb-galera/values.yaml b/bitnami/mariadb-galera/values.yaml index a25938733..f4f13fea6 100644 --- a/bitnami/mariadb-galera/values.yaml +++ b/bitnami/mariadb-galera/values.yaml @@ -76,6 +76,10 @@ service: ## annotations: {} +## Specifies the Kubernetes Cluster's Domain Name. +## +clusterDomain: cluster.local + ## Pods Service Account ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ ##