From 2f04ae5f4d4f9b551589904bae64fcc5d3888ce5 Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Tue, 15 Sep 2020 14:10:35 -0700 Subject: [PATCH] Say how to enable SELinux with K3s config file --- content/k3s/latest/en/advanced/_index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/k3s/latest/en/advanced/_index.md b/content/k3s/latest/en/advanced/_index.md index 7ee1c8cd5ea..536d872a8e2 100644 --- a/content/k3s/latest/en/advanced/_index.md +++ b/content/k3s/latest/en/advanced/_index.md @@ -321,6 +321,11 @@ The way that SELinux enforcement is enabled or disabled depends on the K3s versi To leverage experimental SELinux, specify the `--selinux` flag when starting K3s servers and agents. +This option can also be specified in the K3s [configuration file:]({{}}/k3s/latest/en/installation/install-options/#configuration-file) + +``` +selinux: true +``` {{%/tab%}} {{% tab "K3s prior to v1.19.1+k3s1" %}}