From 14617aad392507f665c768545f867dd483e0a03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 13 Aug 2023 18:38:26 +0300 Subject: [PATCH] wildduck: Make wildflock HA --- wildduck/wildflock.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wildduck/wildflock.yaml b/wildduck/wildflock.yaml index 95bb31f..b13bcae 100644 --- a/wildduck/wildflock.yaml +++ b/wildduck/wildflock.yaml @@ -67,7 +67,7 @@ spec: selector: matchLabels: app: wildflock - replicas: 1 + replicas: 2 template: metadata: labels: @@ -79,6 +79,11 @@ spec: ports: - containerPort: 3030 env: + - name: REDIS_URL + valueFrom: + secretKeyRef: + name: redis-webmail-owner-secrets + key: REDIS_MASTER_1_URI - name: CLIENT_URL value: https://wildflock.k-space.ee - name: WILDDUCK_DOMAIN