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

@@ -96,8 +96,8 @@ spec:
- name: REDIS_URL
valueFrom:
secretKeyRef:
name: redis-webmail-owner-secrets
key: REDIS_MASTER_1_URI
name: dragonfly-wildflock-auth
key: REDIS_URI
- name: CLIENT_URL
value: https://wildflock.k-space.ee
- name: WILDDUCK_DOMAIN
@@ -139,3 +139,29 @@ spec:
envFrom:
- secretRef:
name: oidc-client-wildflock-owner-secrets
---
apiVersion: codemowers.cloud/v1beta1
kind: SecretClaim
metadata:
name: dragonfly-wildflock-auth
spec:
size: 32
mapping:
- key: password
value: "%(plaintext)s"
- key: REDIS_URI
value: "redis://:%(plaintext)s@dragonfly-wildflock"
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: dragonfly-wildflock
spec:
authentication:
passwordFromSecret:
key: password
name: dragonfly-wildflock-auth
replicas: 3
resources:
limits:
memory: 5Gi