mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Remove stale comment re making apiserver common names dynamic
This commit is contained in:
parent
1d343c8a0c
commit
1d3b6ece63
@ -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