github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/apiextensions.k8s.io/CustomResourceDefinition/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Healthy
     4      message: "CRD is healthy"
     5    inputPath: testdata/crd-v1-healthy.yaml
     6  - healthStatus:
     7      status: Degraded
     8      message: "CRD names have not been accepted: the initial names have not been accepted"
     9    inputPath: testdata/crd-v1-names-not-accepted-degraded.yaml
    10  - healthStatus:
    11      status: Degraded
    12      message: "Schema violations found: spec.preserveUnknownFields: Invalid value: true: must be false"
    13    inputPath: testdata/crd-v1-non-structual-degraded.yaml
    14  - healthStatus:
    15      status: Degraded
    16      message: "CRD is not established"
    17    inputPath: testdata/crd-v1-not-established-degraded.yaml
    18  - healthStatus:
    19      status: Progressing
    20      message: "CRD is terminating: user has deleted the CRD"
    21    inputPath: testdata/crd-v1-terminating-condition-progressing.yaml
    22  - healthStatus:
    23      status: Progressing
    24      message: "CRD is terminating"
    25    inputPath: testdata/crd-v1-terminating-timestamp-progressing.yaml
    26  - healthStatus:
    27      status: Progressing
    28      message: "Status conditions not found"
    29    inputPath: testdata/crd-v1-no-conditions-progressing.yaml