argo-cd/resource_customizations/trident.netapp.io/TridentBackendConfig/health_test.yaml
Balazs Zachar 7e68b1ef71
feat: add custom resource health checks for trident.netapp.io/TridentOrchestrator and trident.netapp.io/TridentBackendConfig (Closes [ISSUE #6550]) (#6552)
* feat: add custom resource health checks for trident.netapp.io/TridentOrchestrator and trident.netapp.io/TridentBackendConfig

Signed-off-by: Balazs Zachar <zachar.balazs@gmail.com>

* feat: extend TridentOrchestrator check with degraded state (based on official documentation)

Signed-off-by: Balazs Zachar <zachar.balazs@gmail.com>
2021-07-08 18:39:23 -07:00

13 lines
399 B
YAML

tests:
- healthStatus:
status: Degraded
message: "Failed to create backend: backend tbc-ontap-nas already exists"
inputPath: testdata/degraded.yaml
- healthStatus:
status: Progressing
message: "Waiting for backend creation"
inputPath: testdata/progressing.yaml
- healthStatus:
status: Healthy
message: "Backend 'tbc-ontap-nas' created"
inputPath: testdata/healthy.yaml