mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #85754 from alvaroaleman/fix-comment
Remove stale comment re making apiserver common names dynamic
This commit is contained in:
commit
c1d572ed29
@ -163,7 +163,6 @@ func NewVerifier(opts x509.VerifyOptions, auth authenticator.Request, allowedCom
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewDynamicCAVerifier create a request.Authenticator by verifying a client cert on the request, then delegating to the wrapped auth
|
// NewDynamicCAVerifier create a request.Authenticator by verifying a client cert on the request, then delegating to the wrapped auth
|
||||||
// TODO make the allowedCommonNames dynamic
|
|
||||||
func NewDynamicCAVerifier(verifyOptionsFn VerifyOptionFunc, auth authenticator.Request, allowedCommonNames StringSliceProvider) authenticator.Request {
|
func NewDynamicCAVerifier(verifyOptionsFn VerifyOptionFunc, auth authenticator.Request, allowedCommonNames StringSliceProvider) authenticator.Request {
|
||||||
return &Verifier{verifyOptionsFn, auth, allowedCommonNames}
|
return &Verifier{verifyOptionsFn, auth, allowedCommonNames}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user