argo-cd/resource_customizations/nmstate.io/NodeNetworkConfigurationPolicy/health_test.yaml
Sander Tervoert 7a3d6f1f6a
feat: Implement nmstate health checks (#26506) (#26507)
Signed-off-by: sandert-k8s <sandert98@gmail.com>
2026-02-22 13:44:36 -05:00

21 lines
742 B
YAML

tests:
- healthStatus:
status: Progressing
message: Waiting for policy to be applied
inputPath: testdata/progressing_noStatus.yaml
- healthStatus:
status: Progressing
message: "ConfigurationProgressing: Policy is progressing 0/1 nodes finished"
inputPath: testdata/progressing_configuring.yaml
- healthStatus:
status: Healthy
message: "SuccessfullyConfigured: 1/1 nodes successfully configured"
inputPath: testdata/healthy_configured.yaml
- healthStatus:
status: Degraded
message: "FailedToConfigure: 1/1 nodes failed to configure"
inputPath: testdata/degraded_failedToConfigure.yaml
- healthStatus:
status: Suspended
message: NoMatchingNode
inputPath: testdata/suspended_noMatchingNode.yaml