Skip to content

Commit

Permalink
add gvk to unstructured multiclusterservice
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Bortnikov <[email protected]>
  • Loading branch information
BROngineer committed Jan 20, 2025
1 parent c2c7f81 commit 3b1d949
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/multi_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3b1d949

Please sign in to comment.