I need to use a custom Vault image, along with the official Helm chart. The reason for doing this is that I need to have a custom plugin that has some external dependencies (libpbc, libgmp).
I tried to import the libraries to the Vault generated by the Helm chart, but with no success. Here you can see the issue.
As a last solution, I want to make a custom image of Vault, where I will have the libraries installed, then load the image with the help of the Helm chart.
However, I get this error:
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting “/var/snap/microk8s/common/default-storage/default-data-vault-0-pvc-ea8d7764-90e1-4d27-a0ea-d45e20b96c75” to rootfs at “/var/snap/microk8s/common/run/containerd/io.containerd.runtime.v2.task/k8s.io/vault/rootfs/vault/data” caused: not a directory: unknown