Skip to content

Commit

Permalink
chore(cmd/driver): updated driver config long description.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>

Co-authored-by: Aldo Lacuku <[email protected]>
  • Loading branch information
2 people authored and poiana committed Nov 27, 2023
1 parent f80f3fd commit d762a9c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/driver/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ import (

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

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

0 comments on commit d762a9c

Please sign in to comment.