k3s/pkg/cli/cmds
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.go cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00
check-config.go Add config file support 2020-07-10 10:34:00 -07:00
config.go Add config file support 2020-07-10 10:34:00 -07:00
crictl.go Add config file support 2020-07-10 10:34:00 -07:00
ctr.go Add config file support 2020-07-10 10:34:00 -07:00
debug.go Add config file support 2020-07-10 10:34:00 -07:00
dqlite.go Add dqlite support 2019-11-10 03:49:56 +00:00
kubectl.go Add config file support 2020-07-10 10:34:00 -07:00
log.go Add config file support 2020-07-10 10:34:00 -07:00
nocluster.go
root.go Add config file support 2020-07-10 10:34:00 -07:00
server.go cli: add --selinux flag to agent/server sub-cmds (#2111) 2020-08-11 16:17:32 -07:00