apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
name: "[Stable] MachineHealthCheck"
crd: 0000_10_machinehealthcheck.yaml
tests:
  onCreate:
  - name: Should be able to create a minimal MachineHealthCheck
    initial: |
      apiVersion: machine.openshift.io/v1beta1
      kind: MachineHealthCheck
      spec: {} # No spec is required for a MachineHealthCheck
    expected: |
      apiVersion: machine.openshift.io/v1beta1
      kind: MachineHealthCheck
      spec:
        maxUnhealthy: 100%
        nodeStartupTimeout: 10m
