[bitnami/mariadb-galera] Fix podLabels/podAnnotations (#4761)

This commit is contained in:
Juan Ariza Toledano
2020-12-17 11:02:12 +01:00
committed by GitHub
parent 9976ee849b
commit 59322032cb
5 changed files with 18 additions and 14 deletions

View File

@@ -28,4 +28,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-mariadb-galera
- https://github.com/prometheus/mysqld_exporter
- https://mariadb.org
version: 5.3.2
version: 5.3.3

View File

@@ -146,7 +146,8 @@ The following table lists the configurable parameters of the MariaDB Galera char
| `persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
| `persistence.size` | Persistent Volume Size | `8Gi` |
| `persistence.selector` | Selector to match an existing Persistent Volume (this value is evaluated as a template) | `{}` |
| `podLabels` | Additional pod labels | `{}` |
| `podLabels` | Extra labels for MariaDB Galera pods | `{}` (evaluated as a template) |
| `podAnnotations` | Annotations for MariaDB Galera pods | `{}` (evaluated as a template) |
| `priorityClassName` | Priority Class Name for Statefulset | `` |
| `extraInitContainers` | Additional init containers (this value is evaluated as a template) | `[]` |
| `extraContainers` | Additional containers (this value is evaluated as a template) | `[]` |

View File

@@ -20,6 +20,9 @@ spec:
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) | nindent 8 }}
{{- end }}
labels: {{- include "common.labels.standard" . | nindent 8 }}
{{- if .Values.podLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.podLabels "context" $) | nindent 8 }}
{{- end }}
spec:
{{- include "mariadb-galera.imagePullSecrets" . | nindent 6 }}
{{- if .Values.schedulerName }}

View File

@@ -403,7 +403,12 @@ replicaCount: 3
updateStrategy:
type: RollingUpdate
## Additional pod annotations for MariaDB Galera pods
## Additional labels for MariaDB Galera pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels: {}
## Additional annotations for MariaDB Galera pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
@@ -493,11 +498,6 @@ persistence:
##
size: 8Gi
## Additional pod labels
##
# podLabels:
# extraLabel: extraValue
## Priority Class Name
#
# priorityClassName: 'priorityClass'

View File

@@ -402,7 +402,12 @@ replicaCount: 3
updateStrategy:
type: RollingUpdate
## Additional pod annotations for MariaDB Galera pods
## Additional labels for MariaDB Galera pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels: {}
## Additional annotations for MariaDB Galera pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
@@ -492,11 +497,6 @@ persistence:
##
size: 8Gi
## Additional pod labels
##
# podLabels:
# extraLabel: extraValue
## Priority Class Name
#
# priorityClassName: 'priorityClass'