diff --git a/stable/mariadb/Chart.yaml b/stable/mariadb/Chart.yaml index d70b9670d3..3315ead2b3 100644 --- a/stable/mariadb/Chart.yaml +++ b/stable/mariadb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mariadb -version: 6.3.0 +version: 6.4.0 appVersion: 10.3.15 description: Fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. Highly available MariaDB cluster. keywords: diff --git a/stable/mariadb/README.md b/stable/mariadb/README.md index de8f57f359..07ff2bf9d2 100644 --- a/stable/mariadb/README.md +++ b/stable/mariadb/README.md @@ -62,6 +62,7 @@ The following table lists the configurable parameters of the MariaDB chart and t | `service.port` | MySQL service port | `3306` | | `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `false` | | `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the mariadb.fullname template | +| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` | | `rbac.create` | Create and use RBAC resources | `false` | | `securityContext.enabled` | Enable security context | `true` | | `securityContext.fsGroup` | Group ID for the container | `1001` | diff --git a/stable/mariadb/templates/master-statefulset.yaml b/stable/mariadb/templates/master-statefulset.yaml index 5895ec8a29..a709ff6302 100644 --- a/stable/mariadb/templates/master-statefulset.yaml +++ b/stable/mariadb/templates/master-statefulset.yaml @@ -35,6 +35,9 @@ spec: release: "{{ .Release.Name }}" chart: "{{ template "mariadb.chart" . }}" spec: + {{- if .Values.schedulerName }} + schedulerName: "{{ .Values.schedulerName }}" + {{- end }} serviceAccountName: "{{ template "mariadb.serviceAccountName" . }}" {{- if .Values.securityContext.enabled }} securityContext: diff --git a/stable/mariadb/templates/slave-statefulset.yaml b/stable/mariadb/templates/slave-statefulset.yaml index dfc8c7f95d..5685555262 100644 --- a/stable/mariadb/templates/slave-statefulset.yaml +++ b/stable/mariadb/templates/slave-statefulset.yaml @@ -36,6 +36,9 @@ spec: release: "{{ .Release.Name }}" chart: "{{ template "mariadb.chart" . }}" spec: + {{- if .Values.schedulerName }} + schedulerName: "{{ .Values.schedulerName }}" + {{- end }} serviceAccountName: "{{ template "mariadb.serviceAccountName" . }}" {{- if .Values.securityContext.enabled }} securityContext: diff --git a/stable/mariadb/values-production.yaml b/stable/mariadb/values-production.yaml index a6bfbce420..e90f0993a5 100644 --- a/stable/mariadb/values-production.yaml +++ b/stable/mariadb/values-production.yaml @@ -7,6 +7,11 @@ # imagePullSecrets: # - myRegistryKeySecretName +## Use an alternate scheduler, e.g. "stork". +## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ +## +# schedulerName: + ## Bitnami MariaDB image ## ref: https://hub.docker.com/r/bitnami/mariadb/tags/ ## diff --git a/stable/mariadb/values.yaml b/stable/mariadb/values.yaml index 3e9c9e628a..c5b5ecfd3d 100644 --- a/stable/mariadb/values.yaml +++ b/stable/mariadb/values.yaml @@ -7,6 +7,11 @@ # imagePullSecrets: # - myRegistryKeySecretName +## Use an alternate scheduler, e.g. "stork". +## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ +## +# schedulerName: + ## Bitnami MariaDB image ## ref: https://hub.docker.com/r/bitnami/mariadb/tags/ ##