Add dragonfly to the deployment
Some checks failed
ci/woodpecker/push/build Pipeline failed

Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
2026-05-08 21:14:15 +02:00
parent 3137c47863
commit 3fa7ac5447
2 changed files with 19 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ spec:
secretKeyRef:
name: {{ include "softplayer-backend.fullname" . }}-db-creds
key: CONNECTION_STRING
- name: SOFTPLAYER_REDIS_HOST
value: {{ include "softplayer-backend.fullname" . }}-dragonfly:6379
args:
- serve
- --dev-mode

View File

@@ -0,0 +1,17 @@
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: {{ include "softplayer-backend.fullname" . }}-dragonfly
labels:
{{- include "softplayer-backend.labels" . | nindent 4 }}
spec:
imagePullPolicy: Always
networkPolicyEnabled: true
replicas: 1
resources:
limits:
cpu: 20m
memory: 256Mi
requests:
cpu: 20m
memory: 128Mi