wildduck: Refined Dragonfly cleanup
This commit is contained in:
42
wildduck/session-storage.yaml
Normal file
42
wildduck/session-storage.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
apiVersion: codemowers.cloud/v1beta1
|
||||
kind: SecretClaim
|
||||
metadata:
|
||||
name: session-storage
|
||||
spec:
|
||||
size: 32
|
||||
mapping:
|
||||
- key: password
|
||||
value: "%(plaintext)s"
|
||||
- key: REDIS_WILDDUCK_URI
|
||||
value: "redis://:%(plaintext)s@session-storage/1"
|
||||
- key: REDIS_WEBMAIL_URI
|
||||
value: "redis://:%(plaintext)s@session-storage/2"
|
||||
- key: REDIS_WILDFLOCK_URI
|
||||
value: "redis://:%(plaintext)s@session-storage/2"
|
||||
---
|
||||
apiVersion: dragonflydb.io/v1alpha1
|
||||
kind: Dragonfly
|
||||
metadata:
|
||||
name: session-storage
|
||||
spec:
|
||||
authentication:
|
||||
passwordFromSecret:
|
||||
key: password
|
||||
name: session-storage
|
||||
replicas: 3
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: session-storage
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: session-storage
|
||||
app.kubernetes.io/part-of: dragonfly
|
||||
podMetricsEndpoints:
|
||||
- port: admin
|
Reference in New Issue
Block a user