How to modify App files?

patmage

Dabbler
Joined
Oct 21, 2016
Messages
12
What is the preferred method to modify persistent app files directly? Say for instance I want to modify the configuration.yaml file for Home Assistant? I know I can open up a shell to that App and use vi, but what if I'd like to use an editor such as VSCode? Previously I was using LXC containers and I would just use the Remote Explorer feature in VSCode to connect to the containers. Should I use hostPath instead of pvc as the type of storage and just make my own dataset to point that too?
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
We can add an easier way of editing files inside the container on a later date :smile:
But currently the only way of editing inside a PVC is either stopping the App and mounting the PVC, or editing inside the App itself.

Otherwise you're limited to hostPath, which is not bad for Apps that are quite manual configuration heavy.
 
Top