Fix e2e tests to not fail if the ca key is set
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
This commit is contained in:
parent
25e86d5588
commit
2b5bcf3a35
@ -235,7 +235,7 @@ func WaitCertificateIssuedValid(certClient clientset.CertificateInterface, secre
|
||||
|
||||
return false, err
|
||||
}
|
||||
if len(secret.Data) != 2 {
|
||||
if !(len(secret.Data) == 2 || len(secret.Data) == 3) {
|
||||
glog.Infof("Expected 2 keys in certificate secret, but there was %d", len(secret.Data))
|
||||
return false, nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user