diff --git a/controller/linodeobjectstoragebucket_controller_test.go b/controller/linodeobjectstoragebucket_controller_test.go index 40a4a6552..7159c87d9 100644 --- a/controller/linodeobjectstoragebucket_controller_test.go +++ b/controller/linodeobjectstoragebucket_controller_test.go @@ -157,7 +157,7 @@ var _ = Describe("lifecycle", Label("lifecycle"), func() { By("creating a secret with access keys") Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(&secret), &secret)).To(Succeed()) - Expect(secret.Data).To(HaveLen(2)) + Expect(secret.Data).To(HaveLen(5)) Expect(string(secret.Data["read_write"])).To(Equal(string("key-0"))) Expect(string(secret.Data["read_only"])).To(Equal(string("key-1"))) @@ -207,7 +207,7 @@ var _ = Describe("lifecycle", Label("lifecycle"), func() { By("re-creating it when it is deleted") Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(&secret), &secret)).To(Succeed()) - Expect(secret.Data).To(HaveLen(2)) + Expect(secret.Data).To(HaveLen(5)) Expect(string(secret.Data["read_write"])).To(Equal("key-0")) Expect(string(secret.Data["read_only"])).To(Equal("key-1"))