From 8ce0ec0c7141f91844825ed4bf7925a190bdc7e2 Mon Sep 17 00:00:00 2001 From: leonsteinhaeuser Date: Tue, 30 Apr 2024 15:01:40 +0200 Subject: [PATCH] fix(test): resource api version reference --- pkg/util/secret_test.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/util/secret_test.go b/pkg/util/secret_test.go index 9129d43b..d68f8639 100644 --- a/pkg/util/secret_test.go +++ b/pkg/util/secret_test.go @@ -184,7 +184,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(), @@ -265,7 +265,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(), @@ -315,7 +315,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(), @@ -368,7 +368,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(), @@ -485,7 +485,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(), @@ -534,7 +534,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(), @@ -577,7 +577,7 @@ func TestUpdateSecret(t *testing.T) { Namespace: "default", OwnerReferences: []metav1.OwnerReference{ { - APIVersion: "passbolt.tagesspiegel.de/v1alpha3", + APIVersion: "passbolt.tagesspiegel.de/v1", Kind: "PassboltSecret", Name: "test", Controller: func() *bool { b := true; return &b }(),