Support changing the kind (#9609)

* Support changing the kind

Signed-off-by: Jeff Fouchard <jeff.fouchard@fullscript.com>

* Use kind string value, not bool

Signed-off-by: Jeff Fouchard <jeff.fouchard@fullscript.com>

* Update chart version

Signed-off-by: Jeff Fouchard <jeff.fouchard@fullscript.com>

* Fix readme value

Signed-off-by: Jeff Fouchard <jeff.fouchard@fullscript.com>
This commit is contained in:
jfouchard
2018-11-28 14:59:27 -08:00
committed by k8s-ci-robot
parent 06545b2266
commit 8dee17fd39
4 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -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.
+1
View File
@@ -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).
+1 -1
View File
@@ -1,5 +1,5 @@
apiVersion: apps/v1beta1
kind: StatefulSet
kind: {{ .Values.kind }}
metadata:
name: {{ template "memcached.fullname" . }}
labels:
+3
View File
@@ -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/
##