Skip to content

Commit

Permalink
conflict resolved
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskarzz <[email protected]>
  • Loading branch information
Sanskarzz committed Apr 27, 2024
1 parent 2869362 commit a8b2b2c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit a8b2b2c

Please sign in to comment.