mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
Healthchecks for several Policy types. Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
27 lines
998 B
YAML
27 lines
998 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for the status to be reported
|
|
inputPath: testdata/progressing_no_status.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: >-
|
|
violation - namespaces [argo-example] not found; violation - namespaces
|
|
[argo-example-2] not found
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for the status to be updated
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: >-
|
|
notification - namespaces [argo-example] was created successfully;
|
|
notification - namespaces [argo-example-2] was created successfully
|
|
inputPath: testdata/healthy_created.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: >-
|
|
notification - namespaces [argo-example] found as specified;
|
|
notification - namespaces [argo-example-2] found as specified
|
|
inputPath: testdata/healthy_found.yaml
|