From b6658e1229fe9402a67dd7ff9b697da6ab20c9a7 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Date: Fri, 1 Dec 2023 00:33:36 +0100 Subject: [PATCH] add a comment for the test case Signed-off-by: Jorge Turrado --- pkg/rotator/rotator_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/rotator/rotator_test.go b/pkg/rotator/rotator_test.go index 6eff35e..67e5af6 100644 --- a/pkg/rotator/rotator_test.go +++ b/pkg/rotator/rotator_test.go @@ -335,6 +335,10 @@ func TestReconcileWebhook(t *testing.T) { }, }, { + // As InsecureSkipTLSVerify: true isn't compatible with caBundle + // we cover that the process sets InsecureSkipTLSVerify: false. + // If there is any issue patching InsecureSkipTLSVerify the test fails + // due InsecureSkipTLSVerify & caBundle incompatibility "apiservice-insecure-tls", APIService, nil, []string{"spec", "caBundle"}, &apiregistrationv1.APIService{ ObjectMeta: metav1.ObjectMeta{ Name: "v1alpha2.example.com",