Verify that the key matches the cert
Signed-off-by: aimuz <mr.imuz@gmail.com>
This commit is contained in:
@@ -5812,7 +5812,6 @@ func ValidateSecret(secret *core.Secret) field.ErrorList {
|
||||
if _, exists := secret.Data[core.TLSPrivateKeyKey]; !exists {
|
||||
allErrs = append(allErrs, field.Required(dataPath.Key(core.TLSPrivateKeyKey), ""))
|
||||
}
|
||||
// TODO: Verify that the key matches the cert.
|
||||
default:
|
||||
// no-op
|
||||
}
|
||||
|
Reference in New Issue
Block a user