diff --git a/stable/memcached/Chart.yaml b/stable/memcached/Chart.yaml index 60162f955f..90e5ffc2e9 100644 --- a/stable/memcached/Chart.yaml +++ b/stable/memcached/Chart.yaml @@ -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. diff --git a/stable/memcached/README.md b/stable/memcached/README.md index 9807498bd8..7b9ec34688 100644 --- a/stable/memcached/README.md +++ b/stable/memcached/README.md @@ -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). diff --git a/stable/memcached/templates/statefulset.yaml b/stable/memcached/templates/statefulset.yaml index 7ab42003b5..007c71fb26 100644 --- a/stable/memcached/templates/statefulset.yaml +++ b/stable/memcached/templates/statefulset.yaml @@ -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: diff --git a/stable/memcached/values.yaml b/stable/memcached/values.yaml index ea660c1113..a2c332679d 100644 --- a/stable/memcached/values.yaml +++ b/stable/memcached/values.yaml @@ -67,3 +67,6 @@ metrics: extraContainers: | extraVolumes: | + +# To be added to the server pod(s) +podAnnotations: {}