kube/wildduck/sessions.yaml

29 lines
566 B
YAML
Raw Normal View History

2024-08-15 06:37:24 +00:00
---
apiVersion: codemowers.cloud/v1beta1
kind: SecretClaim
metadata:
name: dragonfly-auth
spec:
size: 32
mapping:
- key: password
value: "%(plaintext)s"
- key: REDIS_WILDDUCK_URI
value: "redis://:%(plaintext)s@dragonfly/1"
- key: REDIS_WILDFLOCK_URI
value: "redis://:%(plaintext)s@dragonfly/2"
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: dragonfly
spec:
authentication:
passwordFromSecret:
key: password
name: dragonfly-auth
replicas: 3
resources:
limits:
memory: 1Gi