29 lines
566 B
YAML
29 lines
566 B
YAML
---
|
|
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
|