I’m in the process of writing a charm for a CSI driver for Kubernetes. It’s modeled after https://github.com/canonical/ceph-csi-operators/ which seems to work fine for almost everything with one huge exception, that makes it pretty useless currently: I can’t set
mountPropagation: Bidirectional on my volume mount in the CSI plugin pod.
Without this flag any mounts done in the pod are not visible outside that container, i.e. not visible on the host or any other pod that requested the volume. I took at look at the juju source and it looks like this is just not possible currently.
Any idea on how I could solve this issue? I’m also pretty sure the same issue happens with the ceph-csi operators?