argo-cd/resource_customizations/apiextensions.k8s.io/CustomResourceDefinition/health_test.yaml
almoelda 3e09f946f4
feat: resource customization for CustomResourceDefinition (#21416)
Signed-off-by: Almo Elda <almogldbh@gmail.com>
2025-01-17 11:02:13 -05:00

29 lines
No EOL
1.1 KiB
YAML

tests:
- healthStatus:
status: Healthy
message: "CRD is healthy"
inputPath: testdata/crd-v1-healthy.yaml
- healthStatus:
status: Degraded
message: "CRD names have not been accepted: the initial names have not been accepted"
inputPath: testdata/crd-v1-names-not-accepted-degraded.yaml
- healthStatus:
status: Degraded
message: "Schema violations found: spec.preserveUnknownFields: Invalid value: true: must be false"
inputPath: testdata/crd-v1-non-structual-degraded.yaml
- healthStatus:
status: Degraded
message: "CRD is not established"
inputPath: testdata/crd-v1-not-established-degraded.yaml
- healthStatus:
status: Progressing
message: "CRD is terminating: user has deleted the CRD"
inputPath: testdata/crd-v1-terminating-condition-progressing.yaml
- healthStatus:
status: Progressing
message: "CRD is terminating"
inputPath: testdata/crd-v1-terminating-timestamp-progressing.yaml
- healthStatus:
status: Progressing
message: "Status conditions not found"
inputPath: testdata/crd-v1-no-conditions-progressing.yaml