try chatgpt provided chart for redis/keyDB
This commit is contained in:
21
redis/templates/configmap.yaml
Normal file
21
redis/templates/configmap.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# 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)
|
||||
Reference in New Issue
Block a user