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
|
- name: NODE_ENV
|
||||||
value: production
|
value: production
|
||||||
- name: REDIS_HOST
|
- name: REDIS_HOST
|
||||||
value: ghostfolio-cache.ghostfolio.svc.cluster.local
|
value: ghostfolio-svc.ghostfolio.svc.cluster.local
|
||||||
- name: REDIS_PORT
|
- name: REDIS_PORT
|
||||||
value: "6379"
|
value: "6379"
|
||||||
- name: REDIS_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: ghostfolio-secrets
|
|
||||||
key: DRAGONFLY_PASSWORD
|
|
||||||
- name: ACCESS_TOKEN_SALT
|
- name: ACCESS_TOKEN_SALT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@ -59,3 +54,7 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: ghostfolio-secrets
|
name: ghostfolio-secrets
|
||||||
key: JWT_SECRET_KEY
|
key: JWT_SECRET_KEY
|
||||||
|
- name: redis
|
||||||
|
image: redis:7.4.2
|
||||||
|
ports:
|
||||||
|
- containerPort: 6379
|
||||||
|
@ -6,7 +6,6 @@ resources:
|
|||||||
- secrets.yaml
|
- secrets.yaml
|
||||||
- database.yaml
|
- database.yaml
|
||||||
- database-backup.yaml
|
- database-backup.yaml
|
||||||
- cache.yaml
|
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
@ -11,5 +11,9 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 3333
|
targetPort: 3333
|
||||||
|
- name: redis
|
||||||
|
port: 6379
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 6379
|
||||||
selector:
|
selector:
|
||||||
app: ghostfolio
|
app: ghostfolio
|
||||||
|
Loading…
x
Reference in New Issue
Block a user