k3s/pkg/agent
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
..
config cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00
containerd cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00
flannel Make program name a variable to be changed at compile time 2020-06-06 16:39:41 -07:00
loadbalancer Make program name a variable to be changed at compile time 2020-06-06 16:39:41 -07:00
netpol Merge pull request #1974 from mschneider82/patch-1 2020-07-01 09:48:00 -07:00
proxy Add supervisor port 2020-05-05 15:54:51 -07:00
syssetup fix formatting 2020-02-23 00:48:26 -08:00
templates cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00
tunnel Make program name a variable to be changed at compile time 2020-06-06 16:39:41 -07:00
util Continued refactoring 2019-01-11 21:52:30 -07:00
run.go set environment variable and create config for crictl 2020-06-24 14:26:44 -07:00