k3s/pkg/daemons
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
..
agent update cis flag implementation to propogate the rest of the way through to kubelet 2020-07-20 16:31:56 -07:00
config cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00
control Listen insecurely on localhost only 2020-08-05 10:28:11 -07:00
executor Add heartbeat interval and election timeout 2020-06-06 16:39:42 -07:00