mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 19:48:25 +10:00
[bitnami/mariadb] Implement persistence selector (#3620)
Co-authored-by: Panu Oksiala <panu.oksiala@elisa.fi>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mariadb
|
||||
version: 7.9.4
|
||||
version: 7.10.0
|
||||
appVersion: 10.3.24
|
||||
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:
|
||||
|
||||
@@ -117,6 +117,7 @@ The following table lists the configurable parameters of the MariaDB chart and t
|
||||
| `master.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `master.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `master.persistence.selector` | Selector to match an existing Persistent Volume (this value is evaluated as a template) | `{}` |
|
||||
| `master.extraInitContainers` | Additional init containers as a string to be passed to the `tpl` function (master) | |
|
||||
| `master.extraEnvVars` | Array containing extra env vars to configure MariaDB master replicas | `nil` |
|
||||
| `master.extraEnvVarsCM` | Configmap containing extra env vars to configure MariaDB master replicas | `nil` |
|
||||
@@ -153,6 +154,7 @@ The following table lists the configurable parameters of the MariaDB chart and t
|
||||
| `slave.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `slave.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `slave.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `slave.persistence.selector` | Selector to match an existing Persistent Volume (this value is evaluated as a template) | `{}` |
|
||||
| `slave.extraInitContainers` | Additional init containers as a string to be passed to the `tpl` function (slave) | `nil` |
|
||||
| `slave.extraEnvVars` | Array containing extra env vars to configure MariaDB slave replicas | `nil` |
|
||||
| `slave.extraEnvVarsCM` | ConfigMap containing extra env vars to configure MariaDB slave replicas | `nil` |
|
||||
|
||||
@@ -340,4 +340,7 @@ spec:
|
||||
requests:
|
||||
storage: {{ .Values.master.persistence.size | quote }}
|
||||
{{ include "mariadb.master.storageClass" . }}
|
||||
{{- if .Values.master.persistence.selector }}
|
||||
selector: {{- include "mariadb.tplValue" (dict "value" .Values.master.persistence.selector "context" $) | nindent 10 }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
|
||||
@@ -309,5 +309,8 @@ spec:
|
||||
requests:
|
||||
storage: {{ .Values.slave.persistence.size | quote }}
|
||||
{{ include "mariadb.slave.storageClass" . }}
|
||||
{{- if .Values.slave.persistence.selector }}
|
||||
selector: {{- include "mariadb.tplValue" (dict "value" .Values.slave.persistence.selector "context" $) | nindent 10 }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -286,6 +286,11 @@ master:
|
||||
## Persistent Volume size
|
||||
##
|
||||
size: 8Gi
|
||||
## selector can be used to match an existing PersistentVolume
|
||||
## selector:
|
||||
## matchLabels:
|
||||
## app: my-app
|
||||
selector: {}
|
||||
|
||||
extraInitContainers: []
|
||||
|
||||
@@ -430,6 +435,11 @@ slave:
|
||||
## Persistent Volume size
|
||||
##
|
||||
size: 8Gi
|
||||
## selector can be used to match an existing PersistentVolume
|
||||
## selector:
|
||||
## matchLabels:
|
||||
## app: my-app
|
||||
selector: {}
|
||||
|
||||
## Add extra init containers
|
||||
##
|
||||
|
||||
@@ -270,6 +270,11 @@ master:
|
||||
## Persistent Volume size
|
||||
##
|
||||
size: 8Gi
|
||||
## selector can be used to match an existing PersistentVolume
|
||||
## selector:
|
||||
## matchLabels:
|
||||
## app: my-app
|
||||
selector: {}
|
||||
|
||||
## Add extra init Containers (evaluated as a templ
|
||||
##
|
||||
@@ -409,6 +414,11 @@ slave:
|
||||
## Persistent Volume size
|
||||
##
|
||||
size: 8Gi
|
||||
## selector can be used to match an existing PersistentVolume
|
||||
## selector:
|
||||
## matchLabels:
|
||||
## app: my-app
|
||||
selector: {}
|
||||
|
||||
## Add extra init containers
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user