Split manifest and add ConfigMap

This commit is contained in:
2026-02-10 13:29:32 +02:00
parent e54921a4cc
commit 91929adf45
5 changed files with 941 additions and 256 deletions

31
redis.yaml Normal file
View File

@@ -0,0 +1,31 @@
---
# For session info, fast database
apiVersion: secretgenerator.mittwald.de/v1alpha1
kind: StringSecret
metadata:
# Not very good. Find something better then redis
name: memelord-kkurval-redis
spec:
fields:
- fieldName: redis-password
length: "32"
encoding: hex
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: memelord-kkurval-redis
spec:
authentication:
passwordFromSecret:
name: memelord-kkurval-redis
key: redis-password
replicas: 1
resources:
requests:
cpu: 500m
memory: 500Mi
limits:
cpu: 600m
memory: 750Mi