fix a typo in cmd/kube-apiserver.

This commit is contained in:
Jiacheng Xu 2019-09-05 23:00:36 +02:00
parent 208cfaad25
commit 637badc1f0
No known key found for this signature in database
GPG Key ID: 20AD3E21EF13A190

View File

@ -628,7 +628,7 @@ func Complete(s *options.ServerRunOptions) (completedServerRunOptions, error) {
// Use (ServiceAccountSigningKeyFile != "") as a proxy to the user enabling
// TokenRequest functionality. This defaulting was convenient, but messed up
// a lot of people when they rotated their serving cert with no idea it was
// connected to their service account keys. We are taking this oppurtunity to
// connected to their service account keys. We are taking this opportunity to
// remove this problematic defaulting.
if s.ServiceAccountSigningKeyFile == "" {
// Default to the private server key for service account token signing