diff --git a/stable/memcached/Chart.yaml b/stable/memcached/Chart.yaml index d55b035713..60162f955f 100644 --- a/stable/memcached/Chart.yaml +++ b/stable/memcached/Chart.yaml @@ -1,5 +1,5 @@ name: memcached -version: 2.3.1 +version: 2.4.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 eef0f56432..9807498bd8 100644 --- a/stable/memcached/README.md +++ b/stable/memcached/README.md @@ -52,6 +52,7 @@ The following table lists the configurable parameters of the Memcached chart and | `metrics.resources` | CPU/Memory resource requests/limits for the metrics exporter | `{}` | | `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 | 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 6cd32c82fa..7ab42003b5 100644 --- a/stable/memcached/templates/statefulset.yaml +++ b/stable/memcached/templates/statefulset.yaml @@ -1,5 +1,5 @@ apiVersion: apps/v1beta1 -kind: StatefulSet +kind: {{ .Values.kind }} metadata: name: {{ template "memcached.fullname" . }} labels: diff --git a/stable/memcached/values.yaml b/stable/memcached/values.yaml index 8f269cb0d7..ea660c1113 100644 --- a/stable/memcached/values.yaml +++ b/stable/memcached/values.yaml @@ -33,6 +33,9 @@ memcached: serviceAnnotations: {} # prometheus.io/scrape: "true" +## StatefulSet or Deployment +kind: StatefulSet + ## Configure resource requests and limits ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ##