@@ -44,6 +44,12 @@ func TestReconcile(t *testing.T) {
4444 case * appsv1.Deployment :
4545 deployment := testDeployment ()
4646 deployment .DeepCopyInto (o )
47+ case * certmanagerv1.Issuer :
48+ issuer := testIssuer ()
49+ issuer .DeepCopyInto (o )
50+ case * corev1.Secret :
51+ secret := testSecret ()
52+ secret .DeepCopyInto (o )
4753 }
4854 return nil
4955 })
@@ -52,6 +58,9 @@ func TestReconcile(t *testing.T) {
5258 case * appsv1.Deployment :
5359 deployment := testDeployment ()
5460 deployment .DeepCopyInto (o )
61+ case * corev1.ConfigMap :
62+ configmap := testConfigMap ()
63+ configmap .DeepCopyInto (o )
5564 }
5665 return true , nil
5766 })
@@ -121,6 +130,12 @@ func TestReconcile(t *testing.T) {
121130 case * corev1.ServiceAccount :
122131 serviceAccount := testServiceAccount ()
123132 serviceAccount .DeepCopyInto (o )
133+ case * certmanagerv1.Issuer :
134+ issuer := testIssuer ()
135+ issuer .DeepCopyInto (o )
136+ case * corev1.Secret :
137+ secret := testSecret ()
138+ secret .DeepCopyInto (o )
124139 }
125140 return nil
126141 })
@@ -139,6 +154,9 @@ func TestReconcile(t *testing.T) {
139154 case * appsv1.Deployment :
140155 deployment := testDeployment ()
141156 deployment .DeepCopyInto (o )
157+ case * corev1.ConfigMap :
158+ configmap := testConfigMap ()
159+ configmap .DeepCopyInto (o )
142160 }
143161 return true , nil
144162 })
@@ -208,13 +226,21 @@ func TestReconcile(t *testing.T) {
208226 case * corev1.ServiceAccount :
209227 serviceAccount := testServiceAccount ()
210228 serviceAccount .DeepCopyInto (o )
229+ case * certmanagerv1.Issuer :
230+ issuer := testIssuer ()
231+ issuer .DeepCopyInto (o )
232+ case * corev1.Secret :
233+ secret := testSecret ()
234+ secret .DeepCopyInto (o )
211235 }
212236 return nil
213237 })
214238 m .ExistsCalls (func (ctx context.Context , ns types.NamespacedName , obj client.Object ) (bool , error ) {
215239 switch obj .(type ) {
216240 case * appsv1.Deployment :
217241 return false , nil
242+ case * corev1.ConfigMap :
243+ return true , nil
218244 }
219245 return true , nil
220246 })
@@ -438,6 +464,12 @@ func TestProcessReconcileRequest(t *testing.T) {
438464 case * appsv1.Deployment :
439465 deployment := testDeployment ()
440466 deployment .DeepCopyInto (o )
467+ case * certmanagerv1.Issuer :
468+ issuer := testIssuer ()
469+ issuer .DeepCopyInto (o )
470+ case * corev1.Secret :
471+ secret := testSecret ()
472+ secret .DeepCopyInto (o )
441473 }
442474 return nil
443475 })
@@ -446,6 +478,9 @@ func TestProcessReconcileRequest(t *testing.T) {
446478 case * appsv1.Deployment :
447479 deployment := testDeployment ()
448480 deployment .DeepCopyInto (o )
481+ case * corev1.ConfigMap :
482+ configmap := testConfigMap ()
483+ configmap .DeepCopyInto (o )
449484 }
450485 return true , nil
451486 })
@@ -490,6 +525,12 @@ func TestProcessReconcileRequest(t *testing.T) {
490525 case * appsv1.Deployment :
491526 deployment := testDeployment ()
492527 deployment .DeepCopyInto (o )
528+ case * certmanagerv1.Issuer :
529+ issuer := testIssuer ()
530+ issuer .DeepCopyInto (o )
531+ case * corev1.Secret :
532+ secret := testSecret ()
533+ secret .DeepCopyInto (o )
493534 }
494535 return nil
495536 })
@@ -498,6 +539,9 @@ func TestProcessReconcileRequest(t *testing.T) {
498539 case * appsv1.Deployment :
499540 deployment := testDeployment ()
500541 deployment .DeepCopyInto (o )
542+ case * corev1.ConfigMap :
543+ configmap := testConfigMap ()
544+ configmap .DeepCopyInto (o )
501545 }
502546 return true , nil
503547 })
0 commit comments