Skip to content

Commit 62fbff7

Browse files
committed
test/e2e/in-memory: sync in-memory provider ClusterClass with test
ClusterClass Signed-off-by: Stefan Büringer [email protected]
1 parent 6173c33 commit 62fbff7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ hack/tools/bin
1313
# E2E test templates
1414
test/e2e/data/infrastructure-docker/**/cluster-template*.yaml
1515
test/e2e/data/infrastructure-inmemory/**/cluster-template*.yaml
16+
1617
# Output of Makefile targets using sed on MacOS systems
1718
*.yaml-e
1819

test/infrastructure/inmemory/templates/clusterclass-in-memory-quick-start.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ metadata:
44
name: in-memory-quick-start
55
spec:
66
controlPlane:
7+
metadata:
8+
annotations:
9+
# The in-memory provider currently does not support looking up coredns
10+
# and kube-proxy information and leads to reconcile errors in KCP.
11+
# With these annotations KCP will skip processing those steps.
12+
controlplane.cluster.x-k8s.io/skip-coredns: ""
13+
controlplane.cluster.x-k8s.io/skip-kube-proxy: ""
714
machineInfrastructure:
815
ref:
916
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
@@ -97,4 +104,4 @@ spec:
97104
nodeRegistration:
98105
criSocket: unix:///var/run/containerd/containerd.sock
99106
kubeletExtraArgs:
100-
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%
107+
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%

0 commit comments

Comments
 (0)