guerzon/vaultwarden

Using `storage.existingVolumeClaim` in v0.31.1 can't find existing attachments.

Opened this issue · 1 comments

Using storage.existingVolumeClaim mounts the actual attachments into /data/attachments/attachments, resulting in Bitwarden not finding the attachment files.

I'm suspecting that the second mount of vaultwarden-data is too much and causes some kind of 'recursion'

volumeMounts:
- name: vaultwarden-data
mountPath: {{ default "/data" .dataPath }}
- name: vaultwarden-data
mountPath: {{ default "/data/attachments" .attachmentsPath }}

I'm using the latest version 0.31.1.

oh I saw the problem with existingVolumeClaim, will try to fix it in a PR