Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #46 from khagerma/master
Browse files Browse the repository at this point in the history
Changed Flag Handling so AllowUnauthenticatedClients Respects Defaults
  • Loading branch information
cpuguy83 authored Mar 22, 2022
2 parents bfe7287 + 6b48b7b commit 222ac08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/root/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func installFlags(flags *pflag.FlagSet, c *opts.Opts) {
"kubeAPIBurst is the burst to allow while talking with kubernetes apiserver")

flags.StringVar(&c.ClientCACert, "client-verify-ca", os.Getenv("APISERVER_CA_CERT_LOCATION"), "CA cert to use to verify client requests")
flags.BoolVar(&c.AllowUnauthenticatedClients, "no-verify-clients", false, "Do not require client certificate validation")
flags.BoolVar(&c.AllowUnauthenticatedClients, "no-verify-clients", c.AllowUnauthenticatedClients, "Do not require client certificate validation")

flags.BoolVar(&c.Authentication.Webhook.Enabled, "authentication-token-webhook", c.Authentication.Webhook.Enabled, ""+
"Use the TokenReview API to determine authentication for bearer tokens.")
Expand Down

0 comments on commit 222ac08

Please sign in to comment.