[stable/memcached] Add ability to specify arbitrary custom labels in memcached helm chart (#11966)

* Add ability to specify arbitrary custom labels in memcached helm chart

Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com>

* Update casing to be consistant across all values file references, add readme reference to new parameter

Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com>

* Fix circleci lint error "missing starting space in comment  (comments)"

Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com>

* Bump minor version; Change the way yaml is templated into statefulset

Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com>

* change parameter name from customLabels to podLabels

Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com>
This commit is contained in:
Orkhan Mamedov
2019-03-07 10:54:04 -08:00
committed by Kubernetes Prow Robot
parent 6d79a9d624
commit e86e4e902c
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: memcached
version: 2.6.0
version: 2.7.0
appVersion: 1.5.12
description: Free & open source, high-performance, distributed memory object caching
system.
+1
View File
@@ -54,6 +54,7 @@ The following table lists the configurable parameters of the Memcached chart and
| `extraVolumes` | Volume definitions to add as string | Un-set |
| `kind` | Install as StatefulSet or Deployment | StatefulSet |
| `podAnnotations` | Map of annotations to add to the pod(s) | `{}` |
| `podLabels` | Custom Labels to be applied to statefulset | Un-set |
| `nodeSelector` | Simple pod scheduling control | `{}` |
| `tolerations` | Allow or deny specific node taints | `{}` |
| `affinity` | Advanced pod scheduling control | `{}` |
@@ -17,6 +17,9 @@ spec:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- with .Values.podLabels }}
{{ toYaml . | indent 8 }}
{{- end}}
{{- with .Values.podAnnotations }}
annotations:
{{ toYaml . | indent 8 }}
+5
View File
@@ -77,5 +77,10 @@ extraContainers: |
extraVolumes: |
## Custom metadata labels to be applied to statefulset and pods
# podLabels:
# foo: "bar"
# bar: "foo"
# To be added to the server pod(s)
podAnnotations: {}