24 lines
884 B
YAML
24 lines
884 B
YAML
# -----------------------------------------------------------------------------
|
|
# templates/configmap.yaml
|
|
# -----------------------------------------------------------------------------
|
|
{{""}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: '{{ include "keydb-custom.fullname" . }}-conf'
|
|
labels:
|
|
app: {{ include "keydb-custom.name" . }}
|
|
data:
|
|
keydb.conf: |
|
|
# Minimal keydb.conf generated from values
|
|
server-threads {{ .Values.keydb.serverThreads }}
|
|
maxmemory {{ .Values.keydb.maxmemory }}
|
|
maxmemory-policy {{ .Values.keydb.maxmemoryPolicy }}
|
|
appendonly {{ .Values.keydb.appendonly }}
|
|
protected-mode no
|
|
bind 0.0.0.0
|
|
port {{ .Values.service.port }}
|
|
active-replica yes
|
|
scratch-file-path /tmp/
|
|
jemalloc-bg-thread no # doesn't work with rpi5 16ko page size instead of classic 4ko size
|
|
# requirepass is handled via env (not in file) |