argo-cd/resource_customizations/datasciencecluster.opendatahub.io/DataScienceCluster/testdata/progressing.yaml
Asish Kumar d9ae970a15 feat: add health checks for opendatahub.io DataScienceCluster and DSCInitialization
Add built-in Lua health checks for the DataScienceCluster and
DSCInitialization CRDs from the opendatahub.io API group. These CRDs
are used by OpenShift AI to manage platform lifecycle, and without
native health checks Argo CD cannot accurately report their readiness.

The health mapping is based on the .status.phase field:
- "Ready" maps to Healthy
- "Error" maps to Degraded (with errorMessage when available)
- Any other phase or missing status maps to Progressing

Closes #26543

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
2026-04-07 05:45:50 +00:00

16 lines
350 B
YAML

apiVersion: datasciencecluster.opendatahub.io/v1
kind: DataScienceCluster
metadata:
name: default-dsc
namespace: opendatahub
spec:
components:
dashboard:
managementState: Managed
status:
phase: Progressing
conditions:
- type: Ready
status: "Unknown"
reason: Progressing
message: "Reconciliation in progress"