wildduck: Cleanups

This commit is contained in:
2024-08-15 09:37:24 +03:00
parent bbf421df63
commit b3f1eb069f
8 changed files with 75 additions and 130 deletions

View File

@@ -1,30 +1,4 @@
---
apiVersion: codemowers.cloud/v1beta1
kind: SecretClaim
metadata:
name: dragonfly-auth
spec:
size: 32
mapping:
- key: password
value: "%(plaintext)s"
- key: REDIS_URI
value: "redis://:%(plaintext)s@dragonfly"
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: dragonfly
spec:
authentication:
passwordFromSecret:
key: password
name: dragonfly-auth
replicas: 3
resources:
limits:
memory: 5Gi
---
apiVersion: v1
kind: Service
metadata:
@@ -119,7 +93,7 @@ spec:
valueFrom:
secretKeyRef:
name: dragonfly-auth
key: REDIS_URI
key: REDIS_WILDDUCK_URI
volumeMounts:
- mountPath: /cert
name: cert