Badges: mount the redis persistent dir in the right place

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-05-14 07:57:22 +02:00
parent af8b5836e9
commit b963e77ab1
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -237,13 +237,28 @@ spec:
image: redis:latest
volumeMounts:
- name: data
mountPath: "/data"
mountPath: "/bitnami/redis/data"
env:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: badges
key: redis-password
livenessProbe:
exec:
command: ['redis-cli', 'ping']
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
exec:
command: ['redis-cli', 'ping']
failureThreshold: 3
periodSeconds: 60
successThreshold: 1
timeoutSeconds: 1
volumes:
- name: data
persistentVolumeClaim: