File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
toolkit/imageconfigs/templates Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
os :
2
+ # Ensure SELinux is in Enforcing Mode for OS Guard Code Integrity image.
2
3
selinux :
3
4
mode : enforcing
4
5
kernelCommandLine :
5
6
extraCommandLine :
7
+ # Enforce signatures for all dm-verity volumes on the system. This
8
+ # verification is needed in conjunction with our dm-verity-enabled
9
+ # erofs-snapshotter to ensure erofs container layers, which are
10
+ # dm-verity volumes, are signed by a trusted entity
6
11
- dm_verity.require_signatures=1
7
12
packages :
8
13
install :
14
+ # For containerd erofs-snapshotter to function, supply its userland
15
+ # utilities
9
16
- erofs-utils
10
17
modules :
18
+ # Ensure the erofs kernel module is always loaded so containerd
19
+ # erofs-snapshotter can use it.
11
20
- name : erofs
12
21
loadMode : always
13
22
additionalFiles :
23
+ # Place custom containerd config that configures erofs-snapshotter as the
24
+ # default snapshotter when setting up container images
14
25
- source : files/osguard-ci/config.toml
15
26
destination : /etc/containerd/config.toml
16
27
permissions : " 644"
28
+ # Place custom CNI config for enabling pod networking on container creation
17
29
- source : files/osguard-ci/10-podnet.conf
18
30
destination : /etc/cni/net.d/10-podnet.conf
19
31
permissions : " 644"
20
32
scripts :
21
33
postCustomization :
34
+ # Tag this image variant with its specific variant-id
22
35
- path : scripts/set_os_release_variant_entries.sh
23
36
arguments :
24
37
- --variant-id
You can’t perform that action at this time.
0 commit comments