From 3b1d949f2ed193a8d6a768717df76ad1b003e127 Mon Sep 17 00:00:00 2001 From: Artem Bortnikov Date: Mon, 20 Jan 2025 10:15:03 +0200 Subject: [PATCH] add gvk to unstructured multiclusterservice Signed-off-by: Artem Bortnikov --- test/e2e/multi_provider_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/multi_provider_test.go b/test/e2e/multi_provider_test.go index 4c05500c..4251bd4a 100644 --- a/test/e2e/multi_provider_test.go +++ b/test/e2e/multi_provider_test.go @@ -153,6 +153,11 @@ var _ = Context("Multi Cloud Templates", Label("provider:cloud", "provider:aws-a data, err := runtime.DefaultUnstructuredConverter.ToUnstructured(mcs) Expect(err).NotTo(HaveOccurred()) mcsUnstructured := new(unstructured.Unstructured) + mcsUnstructured.SetGroupVersionKind(schema.GroupVersionKind{ + Group: "k0rdent.mirantis.com", + Version: "v1alpha1", + Kind: "MultiClusterService", + }) mcsUnstructured.SetUnstructuredContent(data) multiClusterServiceDeleteFunc = kc.CreateMultiClusterService(context.Background(), mcsUnstructured)