From a8b2b2c4eff401ae89ce62ddec48bbc91129cc52 Mon Sep 17 00:00:00 2001 From: Sanskarzz Date: Sat, 6 Apr 2024 23:55:46 +0530 Subject: [PATCH] conflict resolved Signed-off-by: Sanskarzz --- main.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/main.go b/main.go index 94858d21..2d248500 100644 --- a/main.go +++ b/main.go @@ -53,21 +53,6 @@ var serveCmd = &cobra.Command{ }, } -func init() { - serveCmd.Flags().StringSliceVar(&policies, "policy", nil, "Path to kyverno-json policies") -} - -var policies []string - -var serveCmd = &cobra.Command{ - Use: "serve", - Short: "Start the kyverno-envoy-plugin server", - Run: func(cmd *cobra.Command, args []string) { - srv := NewServers(policies) - startServers(srv) - }, -} - func NewServers(policies []string) *Servers { return &Servers{ grpcV3: &extAuthzServerV3{