You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey,
not sure if this is a kubernetes thing,
but gonic has no logic for creating any of the root folders it's expecting (eg cache, music, podcasts)
at least in dockerland, when provide host->container mounts docker creates the host folders for you (in this example the /tmp/g_* folders didn't exist)
👋 No problem, I have it solved as I mentioned above.
I'm trying to put the cache directory under /data. However when the application is first created /data/cache does not exist. Putting the cache directory here makes it much easier to maintain because I'll only need 1 gonic app volume for everything besides the media share.
I would like Gonic to create the cache directory if it doesn't exist
For now I have to use an
initContainer
to create the directory before the container startshttps://github.com/onedr0p/home-cluster/blob/b53508c551e28190b7914866a640e5ce3c530695/cluster/media/gonic/helm-release.yaml#L20
The text was updated successfully, but these errors were encountered: