func (tc *testContext) isPending(csr *certificates.CertificateSigningRequest) bool {
	for _, c := range csr.Status.Conditions {
		if c.Type == certificates.CertificateApproved || c.Type == certificates.CertificateDenied {
			return false
		}
	}
	return true
}
// TODO: vSphere CSRs are not being approved due to a hostname mismatch. This is an issue only because the
//       ConfigMap controller does not have the ability to approve CSRs yet. This can be removed if not needed when that
//       functionality is added in https://issues.redhat.com/browse/WINC-581
// isPending returns true if the CSR is neither approved, nor denied
vSphere CSRs are not being approved due to a hostname mismatch. This is an issue only because the
ConfigMap controller does not have the ability to approve CSRs yet.
// TODO : vSphere CSRs are not being approved due to a hostname mismatch . This is an issue only because the // ConfigMap controller does not have the ability to approve CSRs yet . This can be removed if not needed when that // functionality is added in https : // issues . redhat . com / browse / WINC - 581 // isPending returns true if the CSR is neither approved nor denied
func (tc *testContext) isPending(csr *certificates.CertificateSigningRequest) bool {
	for _, c := range csr.Status.Conditions {
		if c.Type == certificates.CertificateApproved || c.Type == certificates.CertificateDenied {
			return false
		}
	}
	return true
}
func ( tc * testContext ) isPending ( csr * certificates . CertificateSigningRequest ) bool { for _ , c := range csr . Status . Conditions { if c . Type == certificates . CertificateApproved || c . Type == certificates . CertificateDenied { return false } } return true }
vSphere CSRs are not being approved due to a hostname mismatch.
vSphere CSRs are not being approved due to a hostname mismatch .