pkg/kubectl: fix spelling mistake

This commit is contained in:
Kevin Burke 2018-08-21 16:27:32 -07:00
parent f077d6736b
commit c6c23daafb
No known key found for this signature in database
GPG Key ID: 24B0EF06511BA263

View File

@ -125,7 +125,7 @@ func (s SecretForTLSGeneratorV1) ParamNames() []GeneratorParam {
// validate validates required fields are set to support structured generation // validate validates required fields are set to support structured generation
func (s SecretForTLSGeneratorV1) validate() error { func (s SecretForTLSGeneratorV1) validate() error {
// TODO: This is not strictly necessary. We can generate a self signed cert // TODO: This is not strictly necessary. We can generate a self signed cert
// if no key/cert is given. The only requiredment is that we either get both // if no key/cert is given. The only requirement is that we either get both
// or none. See test/e2e/ingress_utils for self signed cert generation. // or none. See test/e2e/ingress_utils for self signed cert generation.
if len(s.Key) == 0 { if len(s.Key) == 0 {
return fmt.Errorf("key must be specified") return fmt.Errorf("key must be specified")