Skip to content

Commit d762a9c

Browse files
FedeDPalacuku
authored andcommitted
chore(cmd/driver): updated driver config long description.
Signed-off-by: Federico Di Pierro <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]>
1 parent f80f3fd commit d762a9c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cmd/driver/config/config.go

+6-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ import (
4343

4444
const (
4545
configMapEngineKindKey = "engine.kind"
46+
longConfig = `Configure a driver for future usages with other driver subcommands.
47+
It will also update local Falco configuration or k8s configmap depending on the environment where it is running, to let Falco use chosen driver.
48+
Only supports deployments of Falco that use a driver engine, ie: one between kmod, ebpf and modern-ebpf.
49+
If engine.kind key is set to a non-driver driven engine, Falco configuration won't be touched.
50+
`
4651
)
4752

4853
type driverConfigOptions struct {
@@ -68,7 +73,7 @@ func NewDriverConfigCmd(ctx context.Context, opt *options.Common) *cobra.Command
6873
Use: "config [flags]",
6974
DisableFlagsInUseLine: true,
7075
Short: "Configure a driver",
71-
Long: "Configure a driver for future usages with other driver subcommands",
76+
Long: longConfig,
7277
RunE: func(cmd *cobra.Command, args []string) error {
7378
return o.RunDriverConfig(ctx, cmd)
7479
},

0 commit comments

Comments
 (0)