Skip to content

Commit

Permalink
review finding
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Nov 30, 2023
1 parent 78c5b3d commit ab2c044
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/webhook/kapiserver/ensurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,9 @@ func ensureKubeAPIServerCommandLineArgs(c *corev1.Container) {
"--authentication-token-webhook-config-file=",
"/etc/webhook/config/authn-webhook-config.json",
)
c.Command = append(c.Command, "--authentication-token-webhook-version=v1")
c.Command = extensionswebhook.EnsureStringWithPrefix(
c.Command,
"--authentication-token-webhook-version=",
"v1",
)
}

0 comments on commit ab2c044

Please sign in to comment.