From de4cfba7592c73271423a22b6a73287277eeddf9 Mon Sep 17 00:00:00 2001 From: Runyu Zheng Date: Wed, 5 Jun 2024 13:43:21 +0800 Subject: [PATCH] add unhealthyConditions for machineDeployments to fit CAPI core 1.7.2 Signed-off-by: Runyu Zheng --- test/e2e/data/infrastructure-docker/clusterclass-k3s.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/data/infrastructure-docker/clusterclass-k3s.yaml b/test/e2e/data/infrastructure-docker/clusterclass-k3s.yaml index 9616306e..95b8d2ef 100644 --- a/test/e2e/data/infrastructure-docker/clusterclass-k3s.yaml +++ b/test/e2e/data/infrastructure-docker/clusterclass-k3s.yaml @@ -40,7 +40,10 @@ spec: name: k3s-default-worker-machinetemplate machineHealthCheck: maxUnhealthy: 100% - # We are intentionally not setting the 'unhealthyConditions' here to test that the field is optional. + unhealthyConditions: + - type: e2e.remediation.condition + status: "False" + timeout: 20s machinePools: - class: k3s-default-worker template: