This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Test Configuration Bundle repo for OpenShift operator certification testing. Stores test bundles that the certsuite script uses to deploy operands after installing operators via OLM.
operator-map.yaml # Maps operator names → bundle paths + source repos
bundles/<operator>/
00-prerequisites.yaml # (optional) Namespaces, RBAC, ConfigMaps
01-operand-crs.yaml # Operand CRs (default uncommented, others commented out)
02-validate.sh # Exits 0 when operand is healthy
metadata.yaml # Operator info, namespace, health checks
teardown.yaml # CR(s) to delete during cleanup
- Certsuite script clones this repo
- Looks up operator name in
operator-map.yaml→ getsbundle_path - Applies
00-prerequisites.yamlif present - Applies
01-operand-crs.yamlto deploy operand CRs - Runs
02-validate.sh <namespace>to wait for operand readiness - After tests, applies
teardown.yamlviaoc delete -f
- Create
bundles/<operator-name>/directory - Create
01-operand-crs.yamlwith all sample CRs — default CR uncommented, others commented out - Create
02-validate.sh(must be executable) that polls for operand readiness - Create
metadata.yamlwith operator info and health check config - Create
teardown.yamllisting the CRs to delete - (Optional) Create
00-prerequisites.yamlfor namespaces, RBAC, ConfigMaps - Add entry to
operator-map.yaml
01-operand-crs.yamlcontains all CRs; only the default is uncommented- Validate scripts accept namespace as
$1, default to the operator's standard namespace - Validate scripts use a polling loop with configurable timeout (default 60s)
teardown.yamlonly needs apiVersion/kind/metadata (enough foroc delete)operator-map.yamluses the OLM package name as the key