From 62fbff7f483329187b993f13bf57baed35205c5d Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Tue, 20 Jun 2023 10:13:30 +0200 Subject: [PATCH] test/e2e/in-memory: sync in-memory provider ClusterClass with test ClusterClass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- .gitignore | 1 + .../templates/clusterclass-in-memory-quick-start.yaml | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 95c74ae21c08..9258cfddcddc 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ hack/tools/bin # E2E test templates test/e2e/data/infrastructure-docker/**/cluster-template*.yaml test/e2e/data/infrastructure-inmemory/**/cluster-template*.yaml + # Output of Makefile targets using sed on MacOS systems *.yaml-e diff --git a/test/infrastructure/inmemory/templates/clusterclass-in-memory-quick-start.yaml b/test/infrastructure/inmemory/templates/clusterclass-in-memory-quick-start.yaml index ee9bcf4bd072..5449ebd14790 100644 --- a/test/infrastructure/inmemory/templates/clusterclass-in-memory-quick-start.yaml +++ b/test/infrastructure/inmemory/templates/clusterclass-in-memory-quick-start.yaml @@ -4,6 +4,13 @@ metadata: name: in-memory-quick-start spec: controlPlane: + metadata: + annotations: + # The in-memory provider currently does not support looking up coredns + # and kube-proxy information and leads to reconcile errors in KCP. + # With these annotations KCP will skip processing those steps. + controlplane.cluster.x-k8s.io/skip-coredns: "" + controlplane.cluster.x-k8s.io/skip-kube-proxy: "" machineInfrastructure: ref: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 @@ -97,4 +104,4 @@ spec: nodeRegistration: criSocket: unix:///var/run/containerd/containerd.sock kubeletExtraArgs: - eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% \ No newline at end of file + eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%