Skip to content

Commit

Permalink
add unhealthyConditions for machineDeployments to fit CAPI core 1.7.2 (
Browse files Browse the repository at this point in the history
…#128)

Signed-off-by: Runyu Zheng <[email protected]>
Co-authored-by: Runyu Zheng <[email protected]>
  • Loading branch information
nasusoba and ruzhe0728 committed Jun 11, 2024
1 parent 888216c commit 702b766
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/data/infrastructure-docker/clusterclass-k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 702b766

Please sign in to comment.