Skip to content

Commit

Permalink
tests: unmanaged certs are not deleted by tlspolicy reconcile
Browse files Browse the repository at this point in the history
Signed-off-by: KevFan <[email protected]>
  • Loading branch information
KevFan committed Jan 8, 2025
1 parent 1d2b4a6 commit 7c632a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/tlspolicy/tlspolicy_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ var _ = Describe("TLSPolicy controller", func() {
Expect(k8sClient.Create(ctx, gateway)).To(BeNil())
})

It("Should not affect unmanaged cert", func(ctx context.Context) {
It("Should not delete unmanaged cert", func(ctx context.Context) {
certList := &certmanv1.CertificateList{}
Expect(k8sClient.List(ctx, certList, &client.ListOptions{Namespace: testNamespace})).To(Succeed())
Expect(len(certList.Items)).To(Equal(1))
Expand Down

0 comments on commit 7c632a8

Please sign in to comment.