Skip to content

Commit

Permalink
Added option for JSON output for karmor probe
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan-sharma11 <aryan1126.sharma@gmail.com>
  • Loading branch information
Aryan-sharma11 committed May 9, 2023
1 parent 70cd3aa commit 1dfc0ec
Show file tree
Hide file tree
Showing 2 changed files with 237 additions and 98 deletions.
1 change: 1 addition & 0 deletions cmd/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ func init() {
probeCmd.Flags().StringVarP(&probeInstallOptions.Namespace, "namespace", "n", "kube-system", "Namespace for resources")
probeCmd.Flags().BoolVar(&probeInstallOptions.Full, "full", false, `If KubeArmor is not running, it deploys a daemonset to have access to more
information on KubeArmor support in the environment and deletes daemonset after probing`)
probeCmd.Flags().StringVarP(&probeInstallOptions.Output, "format", "f", "text", " Format: json or text ")
}
Loading

0 comments on commit 1dfc0ec

Please sign in to comment.