github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/batch/CronJob/health_test.yaml (about)

     1  tests:
     2    - healthStatus:
     3        status: Healthy
     4        message: CronJob has completed its last execution successfully
     5      inputPath: testdata/healthy.yaml
     6    - healthStatus:
     7        status: Healthy
     8        message: CronJob has not been scheduled yet
     9      inputPath: testdata/never-scheduled.yaml
    10    - healthStatus:
    11        status: Degraded
    12        message: CronJob has not completed its last execution successfully
    13      inputPath: testdata/degraded.yaml
    14    - healthStatus:
    15        status: Healthy
    16        message: The Cronjob never completed succesfully. It may not be healthy
    17      inputPath: testdata/never-succeeded.yaml
    18    - healthStatus:
    19        status: Healthy
    20        message: The job is running. Its last execution may not have been successful
    21      inputPath: testdata/active.yaml
    22    - healthStatus:
    23        status: Healthy
    24        message: CronJob is Suspended
    25      inputPath: testdata/suspended.yaml