try chatgpt provided chart for redis/keyDB
All checks were successful
Helm Charts / Detect changed charts (push) Successful in 18s
Helm Charts / Library charts tool (push) Has been skipped
Helm Charts / Application charts pgcat (push) Has been skipped

This commit is contained in:
2025-12-04 12:10:03 +01:00
parent 5e6c2acb21
commit c46c479dc5
11 changed files with 282 additions and 81 deletions

View File

@@ -0,0 +1,24 @@
# -----------------------------------------------------------------------------
# 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)