forked from k-space/kube
		
	migrate nextcloud to dragonfly
This commit is contained in:
		| @@ -2,20 +2,28 @@ | |||||||
| apiVersion: codemowers.cloud/v1beta1 | apiVersion: codemowers.cloud/v1beta1 | ||||||
| kind: SecretClaim | kind: SecretClaim | ||||||
| metadata: | metadata: | ||||||
|   name: nextcloud-admin-secrets |   name: dragonfly-auth | ||||||
| spec: | spec: | ||||||
|   size: 32 |   size: 32 | ||||||
|   mapping: |   mapping: | ||||||
|     - key: password |     - key: REDIS_PASSWORD | ||||||
|       value: "%(plaintext)s" |       value: "%(plaintext)s" | ||||||
|  |     - key: REDIS_URI | ||||||
|  |       value: "redis://:%(plaintext)s@dragonfly" | ||||||
| --- | --- | ||||||
| apiVersion: codemowers.cloud/v1beta1 | apiVersion: dragonflydb.io/v1alpha1 | ||||||
| kind: KeydbClaim | kind: Dragonfly | ||||||
| metadata: | metadata: | ||||||
|   name: nextcloud |   name: dragonfly | ||||||
| spec: | spec: | ||||||
|   class: ephemeral |   authentication: | ||||||
|   capacity: 100Mi |     passwordFromSecret: | ||||||
|  |       key: REDIS_PASSWORD | ||||||
|  |       name: dragonfly-auth | ||||||
|  |   replicas: 3 | ||||||
|  |   resources: | ||||||
|  |     limits: | ||||||
|  |       memory: 5Gi | ||||||
| --- | --- | ||||||
| apiVersion: codemowers.cloud/v1beta1 | apiVersion: codemowers.cloud/v1beta1 | ||||||
| kind: OIDCClient | kind: OIDCClient | ||||||
| @@ -136,14 +144,11 @@ spec: | |||||||
|                   name: nextcloud-admin-secrets |                   name: nextcloud-admin-secrets | ||||||
|                   key: password |                   key: password | ||||||
|             - name: REDIS_HOST |             - name: REDIS_HOST | ||||||
|               valueFrom: |               value: dragonfly | ||||||
|                 secretKeyRef: |  | ||||||
|                   name: keydb-nextcloud-owner-secrets |  | ||||||
|                   key: REDIS_MASTER |  | ||||||
|             - name: REDIS_HOST_PASSWORD |             - name: REDIS_HOST_PASSWORD | ||||||
|               valueFrom: |               valueFrom: | ||||||
|                 secretKeyRef: |                 secretKeyRef: | ||||||
|                   name: keydb-nextcloud-owner-secrets |                   name: dragonfly-auth | ||||||
|                   key: REDIS_PASSWORD |                   key: REDIS_PASSWORD | ||||||
|             - name: MYSQL_PASSWORD |             - name: MYSQL_PASSWORD | ||||||
|               valueFrom: |               valueFrom: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user