From 147a555dd055e1786f703089d2cd1af9e84cbe4d Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Wed, 6 Nov 2024 21:43:35 +0000 Subject: [PATCH] Sync CLI flags with k3s Signed-off-by: Brad Davidson (cherry picked from commit f4cbef9c5cea4dda4a4bd2a5d6d9adf3765115d7) Signed-off-by: Brad Davidson --- pkg/cli/cmds/agent.go | 1 + pkg/cli/cmds/server.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/cli/cmds/agent.go b/pkg/cli/cmds/agent.go index 5a2c6e31e8..7d97fb98a3 100644 --- a/pkg/cli/cmds/agent.go +++ b/pkg/cli/cmds/agent.go @@ -31,6 +31,7 @@ var ( "docker": dropFlag, "container-runtime-endpoint": copyFlag, "disable-default-registry-endpoint": copyFlag, + "nonroot-devices": copyFlag, "image-service-endpoint": dropFlag, "pause-image": dropFlag, "default-runtime": copyFlag, diff --git a/pkg/cli/cmds/server.go b/pkg/cli/cmds/server.go index 0adb15dfc0..e3fb75f695 100644 --- a/pkg/cli/cmds/server.go +++ b/pkg/cli/cmds/server.go @@ -97,6 +97,7 @@ var ( "docker": dropFlag, "container-runtime-endpoint": copyFlag, "disable-default-registry-endpoint": copyFlag, + "nonroot-devices": copyFlag, "embedded-registry": copyFlag, "supervisor-metrics": copyFlag, "image-service-endpoint": dropFlag,