fix: Remove valkey for redis sidecar
This commit is contained in:
parent
28d56a2f61
commit
95788a3120
@ -1,19 +0,0 @@
|
||||
apiVersion: dragonflydb.io/v1alpha1
|
||||
kind: Dragonfly
|
||||
metadata:
|
||||
name: ghostfolio-cache
|
||||
namespace: ghostfolio
|
||||
spec:
|
||||
replicas: 3
|
||||
authentication:
|
||||
passwordFromSecret:
|
||||
name: ghostfolio-secrets
|
||||
key: DRAGONFLY_PASSWORD
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 500Mi
|
||||
limits:
|
||||
cpu: 600m
|
||||
memory: 750Mi
|
||||
|
@ -36,14 +36,9 @@ spec:
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
- name: REDIS_HOST
|
||||
value: ghostfolio-cache.ghostfolio.svc.cluster.local
|
||||
value: ghostfolio-svc.ghostfolio.svc.cluster.local
|
||||
- name: REDIS_PORT
|
||||
value: "6379"
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ghostfolio-secrets
|
||||
key: DRAGONFLY_PASSWORD
|
||||
- name: ACCESS_TOKEN_SALT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
@ -59,3 +54,7 @@ spec:
|
||||
secretKeyRef:
|
||||
name: ghostfolio-secrets
|
||||
key: JWT_SECRET_KEY
|
||||
- name: redis
|
||||
image: redis:7.4.2
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
|
@ -6,7 +6,6 @@ resources:
|
||||
- secrets.yaml
|
||||
- database.yaml
|
||||
- database-backup.yaml
|
||||
- cache.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
|
@ -11,5 +11,9 @@ spec:
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 3333
|
||||
- name: redis
|
||||
port: 6379
|
||||
protocol: TCP
|
||||
targetPort: 6379
|
||||
selector:
|
||||
app: ghostfolio
|
||||
|
Loading…
x
Reference in New Issue
Block a user