From 36055cc86920251a0aec3482810df06769e50c14 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Fri, 23 Aug 2024 20:38:01 +0300 Subject: [PATCH] migrate nextcloud to dragonfly --- nextcloud/application.yaml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/nextcloud/application.yaml b/nextcloud/application.yaml index 2d8a220..1582451 100644 --- a/nextcloud/application.yaml +++ b/nextcloud/application.yaml @@ -2,20 +2,28 @@ apiVersion: codemowers.cloud/v1beta1 kind: SecretClaim metadata: - name: nextcloud-admin-secrets + name: dragonfly-auth spec: size: 32 mapping: - - key: password + - key: REDIS_PASSWORD value: "%(plaintext)s" + - key: REDIS_URI + value: "redis://:%(plaintext)s@dragonfly" --- -apiVersion: codemowers.cloud/v1beta1 -kind: KeydbClaim +apiVersion: dragonflydb.io/v1alpha1 +kind: Dragonfly metadata: - name: nextcloud + name: dragonfly spec: - class: ephemeral - capacity: 100Mi + authentication: + passwordFromSecret: + key: REDIS_PASSWORD + name: dragonfly-auth + replicas: 3 + resources: + limits: + memory: 5Gi --- apiVersion: codemowers.cloud/v1beta1 kind: OIDCClient @@ -136,14 +144,11 @@ spec: name: nextcloud-admin-secrets key: password - name: REDIS_HOST - valueFrom: - secretKeyRef: - name: keydb-nextcloud-owner-secrets - key: REDIS_MASTER + value: dragonfly - name: REDIS_HOST_PASSWORD valueFrom: secretKeyRef: - name: keydb-nextcloud-owner-secrets + name: dragonfly-auth key: REDIS_PASSWORD - name: MYSQL_PASSWORD valueFrom: