[stable/phpmyadmin] Add custom podLabels to deployment.yaml (#18228)

* Add custom podLabels to deployment.yaml

Signed-off-by: verymahler <verymahler@users.noreply.github.com>

* Bump stable/phpmyadmin Chart version to 4.0.1

Signed-off-by: verymahler <verymahler@users.noreply.github.com>

* Add podLabels value to README

Signed-off-by: verymahler <verymahler@users.noreply.github.com>

* Add podLabels to default values.yaml

Signed-off-by: verymahler <verymahler@users.noreply.github.com>

* Upgrade to MINOR version instead of PATCH

Signed-off-by: verymahler <verymahler@users.noreply.github.com>
This commit is contained in:
verymahler
2019-10-24 04:37:16 -07:00
committed by Kubernetes Prow Robot
parent 3738f35bea
commit b9c6fd5ac8
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: phpmyadmin
version: 4.0.0
version: 4.1.0
appVersion: 4.9.1
description: phpMyAdmin is an mysql administration frontend
keywords:
+1
View File
@@ -73,6 +73,7 @@ The following table lists the configurable parameters of the phpMyAdmin chart an
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `affinity` | Map of node/pod affinities | `{}` |
| `podLabels` | Pod labels | `{}` |
| `podAnnotations` | Pod annotations | `{}` |
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
| `metrics.image.registry` | Apache exporter image registry | `docker.io` |
@@ -19,6 +19,9 @@ spec:
app: {{ template "phpmyadmin.name" . }}
chart: {{ template "phpmyadmin.chart" . }}
release: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
{{- if or .Values.podAnnotations .Values.metrics.enabled }}
annotations:
{{- if .Values.podAnnotations }}
+3
View File
@@ -118,6 +118,9 @@ tolerations: []
##
affinity: {}
## Pod labels
podLabels: {}
## Pod annotations
podAnnotations: {}