[stable/memcached] Add pod annotations (#10371)

* Add pod annotations

Signed-off-by: Daniel Karnutsch <d.karnutsch@gmail.com>

* change version to bump to next minor

Signed-off-by: Daniel Karnutsch <d.karnutsch@gmail.com>
This commit is contained in:
dkarnutsch
2019-01-06 23:37:17 -08:00
committed by Kubernetes Prow Robot
parent f49135b132
commit 91245e42e7
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: memcached
version: 2.4.0
version: 2.5.0
appVersion: 1.5.6
description: Free & open source, high-performance, distributed memory object caching
system.
+1
View File
@@ -53,6 +53,7 @@ The following table lists the configurable parameters of the Memcached chart and
| `extraContainers` | Container sidecar definition(s) as string | Un-set |
| `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) | `{}` |
The above parameters map to `memcached` params. For more information please refer to the [Memcached documentation](https://github.com/memcached/memcached/wiki/ConfiguringServer).
@@ -17,6 +17,10 @@ spec:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- with .Values.podAnnotations }}
annotations:
{{ toYaml . | indent 8 }}
{{- end }}
spec:
affinity:
podAntiAffinity:
+3
View File
@@ -67,3 +67,6 @@ metrics:
extraContainers: |
extraVolumes: |
# To be added to the server pod(s)
podAnnotations: {}