forked from k-space/kube
migrate nextcloud to dragonfly
This commit is contained in:
parent
aa91322ec6
commit
36055cc869
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user