feat(vaultwarden): Configure local files

When loading Vaultwarden on the cluster, it has been judged to be better to have DB files locally, on top of the longhorn backup. This makes data persistency much easier on the long term.
This commit is contained in:
Tanguy Herbron 2022-09-24 01:04:58 +02:00
parent 20f32fd24b
commit fc36d7104b
2 changed files with 7 additions and 1 deletions

View File

@ -32,4 +32,10 @@ spec:
value: "example"
- name: MARIADB_DATABASE
value: "vaultwarden"
volumeMounts:
- mountPath: "/var/lib/mysql"
name: vaultwarden-pv
volumes:
- name: vaultwarden-pv
hostPath:
path: "/mnt/vaultwarden"