aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/container_config_logging.json
blob: 8e8d0da44c0848139e94a6512bd1f2e7fa6c4db8 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
	"metadata": {
		"name": "container1",
		"attempt": 1
	},
	"image": {
		"image": "busybox:latest"
	},
	"command": [
		"/bin/sh", "-c"
	],
	"args": [
		"%shellcommand%"
	],
	"working_dir": "/",
	"envs": [
		{
			"key": "PATH",
			"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
		},
		{
			"key": "TERM",
			"value": "xterm"
		},
		{
			"key": "TESTDIR",
			"value": "test/dir1"
		},
		{
			"key": "TESTFILE",
			"value": "test/file1"
		}
	],
	"labels": {
		"type": "small",
		"batch": "no"
	},
	"annotations": {
		"owner": "dragon",
		"daemon": "crio"
	},
	"privileged": true,
	"readonly_rootfs": true,
	"log_path": "",
	"stdin": false,
	"stdin_once": false,
	"tty": false,
	"linux": {
		"resources": {
			"cpu_period": 10000,
			"cpu_quota": 20000,
			"cpu_shares": 512,
			"oom_score_adj": 30
		},
		"security_context": {
			"capabilities": {
				"add_capabilities": [
					"setuid",
					"setgid"
				],
				"drop_capabilities": [
				]
			},
			"selinux_options": {
				"user": "system_u",
				"role": "system_r",
				"type": "svirt_lxc_net_t",
				"level": "s0:c4,c5"
			}
		}
	}
}