server: make logDir configurable
While logDir isn't currently used (until the conmon implementation lands) it's probably not a great idea to hardcode our defaults. The main issue with this setting is that the kubelet can override it at will. Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
parent
33f47d6a6b
commit
96c0966ce9
3 changed files with 10 additions and 2 deletions
|
@ -78,6 +78,7 @@ func DefaultConfig() *server.Config {
|
|||
Root: ocidRoot,
|
||||
SandboxDir: filepath.Join(ocidRoot, "sandboxes"),
|
||||
ContainerDir: filepath.Join(ocidRoot, "containers"),
|
||||
LogDir: "/var/log/ocid/pods",
|
||||
},
|
||||
APIConfig: server.APIConfig{
|
||||
Listen: "/var/run/ocid.sock",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue