Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
@@ -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
|
||||
|
||||
17
helm/softplayer-backend/templates/extra/dragonfly.yaml
Normal file
17
helm/softplayer-backend/templates/extra/dragonfly.yaml
Normal 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
|
||||
Reference in New Issue
Block a user