mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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,5 +1,5 @@
|
||||
apiVersion: apps/v1beta1
|
||||
kind: StatefulSet
|
||||
kind: {{ .Values.kind }}
|
||||
metadata:
|
||||
name: {{ template "memcached.fullname" . }}
|
||||
labels:
|
||||
|
||||
@@ -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/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user