Enhancements to make stats cachedump configurable
Memcached stats cachedump is enabled by default. Changes in this pathset provide an option to configure stats cachedump as desired during deployment i.e. the stats cachedump can be disabled to prevent user obtaining sensitive info via the cachedump data. Change-Id: Ic6254f89b1478a414ac275436ddd659b16b75f98
This commit is contained in:
parent
dbb20c786d
commit
c60c138777
@ -15,6 +15,6 @@ apiVersion: v1
|
|||||||
appVersion: v1.5.5
|
appVersion: v1.5.5
|
||||||
description: OpenStack-Helm Memcached
|
description: OpenStack-Helm Memcached
|
||||||
name: memcached
|
name: memcached
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
home: https://github.com/memcached/memcached
|
home: https://github.com/memcached/memcached
|
||||||
...
|
...
|
||||||
|
@ -20,5 +20,8 @@ memcached --version
|
|||||||
exec memcached -v \
|
exec memcached -v \
|
||||||
-p ${MEMCACHED_PORT} \
|
-p ${MEMCACHED_PORT} \
|
||||||
-U 0 \
|
-U 0 \
|
||||||
|
{{- if not .Values.conf.memcached.stats_cachedump.enabled }}
|
||||||
|
-X \
|
||||||
|
{{- end }}
|
||||||
-c ${MEMCACHED_MAX_CONNECTIONS} \
|
-c ${MEMCACHED_MAX_CONNECTIONS} \
|
||||||
-m ${MEMCACHED_MEMORY}
|
-m ${MEMCACHED_MEMORY}
|
||||||
|
@ -22,6 +22,8 @@ conf:
|
|||||||
# NOTE(pordirect): this should match the value in
|
# NOTE(pordirect): this should match the value in
|
||||||
# `pod.resources.memcached.memory`
|
# `pod.resources.memcached.memory`
|
||||||
memory: 1024
|
memory: 1024
|
||||||
|
stats_cachedump:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
dynamic:
|
dynamic:
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
memcached:
|
memcached:
|
||||||
- 0.1.0 Initial Chart
|
- 0.1.0 Initial Chart
|
||||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||||
|
- 0.1.2 Make stats cachedump configurable.
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user