21 lines
739 B
YAML
21 lines
739 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 }}
|
|
# requirepass is handled via env (not in file) |