-
Notifications
You must be signed in to change notification settings - Fork 1k
/
config_unix.go
28 lines (21 loc) · 978 Bytes
/
config_unix.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// +build !windows
package config
// Defaults for linux/unix if none are specified
const (
cniConfigDir = "/etc/cni/net.d/"
cniBinDir = "/opt/cni/bin/"
containerExitsDir = "/var/run/crio/exits"
ContainerAttachSocketDir = "/var/run/crio"
// CrioConfigPath is the default location for the conf file
CrioConfigPath = "/etc/crio/crio.conf"
// CrioConfigDropInPath is the default location for the drop-in config files
CrioConfigDropInPath = "/etc/crio/crio.conf.d"
// CrioSocketPath is where the unix socket is located
CrioSocketPath = "/var/run/crio/crio.sock"
// CrioVersionPathTmp is where the CRI-O version file is located on a tmpfs disk
// used to check if we should wipe containers
CrioVersionPathTmp = "/var/run/crio/version"
// CrioVersionPathPersist is where the CRI-O version file is located
// used to check whether we've upgraded, and thus need to remove images
CrioVersionPathPersist = "/var/lib/crio/version"
)