Changed Venafi CSR request "the request will be retried" -> "waiting"
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
parent
37e117c452
commit
0116bf18bd
@ -168,7 +168,7 @@ func (v *Venafi) Sign(ctx context.Context, csr *certificatesv1.CertificateSignin
|
||||
if err != nil {
|
||||
switch err.(type) {
|
||||
case endpoint.ErrCertificatePending, endpoint.ErrRetrieveCertificateTimeout:
|
||||
message := "Venafi certificate still in a pending state, the request will be retried"
|
||||
message := "Venafi certificate still in a pending state, waiting"
|
||||
log.Error(err, message)
|
||||
v.recorder.Event(csr, corev1.EventTypeNormal, "IssuancePending", message)
|
||||
return err
|
||||
|
||||
@ -587,7 +587,7 @@ func TestProcessItem(t *testing.T) {
|
||||
builder: &testpkg.Builder{
|
||||
CertManagerObjects: []runtime.Object{baseIssuer.DeepCopy()},
|
||||
ExpectedEvents: []string{
|
||||
"Normal IssuancePending Venafi certificate still in a pending state, the request will be retried",
|
||||
"Normal IssuancePending Venafi certificate still in a pending state, waiting",
|
||||
},
|
||||
ExpectedActions: []testpkg.Action{
|
||||
testpkg.NewAction(coretesting.NewCreateAction(
|
||||
@ -638,7 +638,7 @@ func TestProcessItem(t *testing.T) {
|
||||
builder: &testpkg.Builder{
|
||||
CertManagerObjects: []runtime.Object{baseIssuer.DeepCopy()},
|
||||
ExpectedEvents: []string{
|
||||
"Normal IssuancePending Venafi certificate still in a pending state, the request will be retried",
|
||||
"Normal IssuancePending Venafi certificate still in a pending state, waiting",
|
||||
},
|
||||
ExpectedActions: []testpkg.Action{
|
||||
testpkg.NewAction(coretesting.NewCreateAction(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user