diff --git a/vaultwarden/pvc.yaml b/vaultwarden/backup-pvc.yaml similarity index 100% rename from vaultwarden/pvc.yaml rename to vaultwarden/backup-pvc.yaml diff --git a/vaultwarden/deployment.yaml b/vaultwarden/deployment.yaml index 52c26fb..22f6773 100644 --- a/vaultwarden/deployment.yaml +++ b/vaultwarden/deployment.yaml @@ -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"