wildduck: migrate to dragonfly, disable network policies, upgrade wildduck-operator

This commit is contained in:
2024-07-28 16:56:15 +03:00
parent 73d185b2ee
commit 2d25377090
7 changed files with 102 additions and 58 deletions

View File

@@ -1,11 +1,29 @@
---
apiVersion: codemowers.cloud/v1beta1
kind: RedisClaim
kind: SecretClaim
metadata:
name: wildduck
name: dragonfly-auth
spec:
class: ephemeral
capacity: 100Mi
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
@@ -98,8 +116,8 @@ spec:
- name: APPCONF_dbs_redis
valueFrom:
secretKeyRef:
name: redis-wildduck-owner-secrets
key: REDIS_MASTER_0_URI
name: dragonfly-auth
key: REDIS_URI
volumeMounts:
- mountPath: /cert
name: cert