[stable/phpMyAdmin] Add nodeSelector, tolerations and affinity for phpMyAdmin (#7884)

* Add nodeSelector, tolerations and affinity for phpMyAdmin

Signed-off-by: Antoine Rehm <antoine.rehm@siagilus.fr>

* bump to 1.1.0

Signed-off-by: Antoine Rehm <antoine.rehm@siagilus.fr>

* Correct README.md chart version

Signed-off-by: Antoine Rehm <antoine.rehm@siagilus.fr>

* Correct README.md Upgrading section

Signed-off-by: Antoine Rehm <antoine.rehm@siagilus.fr>
This commit is contained in:
Antoine Rehm
2018-09-24 08:07:51 -07:00
committed by k8s-ci-robot
parent 0d9de94a5a
commit 443f822418
4 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: phpmyadmin
version: 1.0.0
version: 1.1.0
appVersion: 4.8.2
description: phpMyAdmin is an mysql administration frontend
keywords:
+3
View File
@@ -60,6 +60,9 @@ The following table lists the configurable parameters of the phpMyAdmin chart an
| `ingress.host` | ingress host | `nil` |
| `ingress.tls` | tls for ingress | `[]` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `affinity` | Map of node/pod affinities | `{}` |
For more information please refer to the [bitnami/phpmyadmin](http://github.com/bitnami/bitnami-docker-Phpmyadmin) image documentation.
@@ -68,3 +68,15 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
+15
View File
@@ -60,3 +60,18 @@ resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}