This repository was archived by the owner on Dec 21, 2021. It is now read-only.
This repository was archived by the owner on Dec 21, 2021. It is now read-only.
Agent should check on startup if important directories are readable/writable #45
Closed
Description
When the data directory is not writeable the Agent will exit with a weird panic from the bowels of Krustlet because the plugins dir cannot be created. To avoid this we should check if the data directory exists and is writeable so we can provide a nicer error.
The same might be nice for the log dir and maybe others? Not sure where it makes sense.