jhack
jhack copied to clipboard
fs mount on local mk8s
While we wait for a general-purpose Pebble FUSE fs, this jhack allows you to open an admin file explorer in a live charm unit (the charm container or any of the workload containers).
WARNING: horrible hackery involved.
todo:
- derive PVC name from kubectl so we can drop the find hackery
- mount the separate container mounts into one another so that dirs don't appear empty (using metadata.yaml to know the locations?)