From f6219392fe41a351f1d915e4fa86d62536fd5801 Mon Sep 17 00:00:00 2001 From: Brian Mendoza Date: Fri, 9 Feb 2024 14:45:42 -0500 Subject: [PATCH] e2e: Use full infrastructureRef to delegate owner assignment to CAPI controller --- .../minimal/01-create-cluster.yaml | 2 ++ .../minimal/02-create-linodecluster.yaml | 25 +++++-------------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/e2e/linodecluster-controller/minimal/01-create-cluster.yaml b/e2e/linodecluster-controller/minimal/01-create-cluster.yaml index 300c2cae0..6040cd133 100644 --- a/e2e/linodecluster-controller/minimal/01-create-cluster.yaml +++ b/e2e/linodecluster-controller/minimal/01-create-cluster.yaml @@ -4,4 +4,6 @@ metadata: name: cluster-sample spec: infrastructureRef: + apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 + kind: LinodeCluster name: linodecluster-sample diff --git a/e2e/linodecluster-controller/minimal/02-create-linodecluster.yaml b/e2e/linodecluster-controller/minimal/02-create-linodecluster.yaml index 5eb99ff59..ac8eb7220 100644 --- a/e2e/linodecluster-controller/minimal/02-create-linodecluster.yaml +++ b/e2e/linodecluster-controller/minimal/02-create-linodecluster.yaml @@ -1,19 +1,6 @@ -apiVersion: kuttl.dev/v1beta1 -kind: TestStep -commands: - - script: | - CLUSTER_UID="$(OBJ=clusters/cluster-sample make getKubeUid)" - - cat <