k3s/pkg/agent/containerd
Jacob Blain Christen e2089bea18
cli: add --selinux flag to agent/server sub-cmds (#2111)
* cli: add --selinux flag to agent/server sub-cmds

Introduces --selinux flag to affirmatively enable SELinux in containerd.
Deprecates --disable-selinux flag which now defaults to true which
auto-detection of SELinux configuration for containerd is no longer
supported.  Specifying both --selinux and --disable-selinux will result
in an error message encouraging you to pick a side.

* Update pkg/agent/containerd/containerd.go

update log warning message about enabled selinux host but disabled runtime

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2020-08-11 16:17:32 -07:00
..
command_windows.go fix formatting 2020-02-23 00:48:26 -08:00
command.go fix formatting 2020-02-23 00:48:26 -08:00
containerd.go cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00
selinux.go Simplify SELinux detection and add --disable-selinux flag 2020-02-28 10:10:55 -07:00