Skip to content

Commit

Permalink
fix: forgot to move the parse flags over from kubebuilder v3 -> v4 (#300
Browse files Browse the repository at this point in the history
)

Signed-off-by: Kasper J. Hermansen <[email protected]>
  • Loading branch information
kjuulh authored Jul 2, 2024
1 parent 3fb30fd commit 795bdf4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ func main() {

config.Log(setupLog)

if err := flagSet.Parse(os.Args[1:]); err != nil {
setupLog.Error(err, "parse flags")
os.Exit(1)
}

// if the enable-http2 flag is false (the default), http/2 should be disabled
// due to its vulnerabilities. More specifically, disabling http/2 will
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
Expand Down

0 comments on commit 795bdf4

Please sign in to comment.