Summary
Create the first test configuration bundle for ocs-operator as a proof-of-concept, following the bundle spec defined in issue #1.
Details
Research the ocs-operator CRD schema and create the following files under bundles/ocs-operator/:
Files to create
-
metadata.yaml — Machine-readable contract:
- Operator name, channel (
stable), namespace (openshift-storage), catalogSource
- Hardware requirements (if any)
- Health check conditions (StorageCluster Ready status)
- Known issues section
- Diagnostics/must-gather image
-
01-operand-crs.yaml — Custom Resources to deploy OCS operands:
- Minimal StorageCluster CR
- Any other required CRs for basic operand deployment
-
02-validate.sh — Validation script:
- Wait for StorageCluster to reach
Ready phase
- Check that OCS pods are running
- Accept namespace as $1 argument
- Exit 0 on success, non-zero on failure
- Must be executable
-
00-prerequisites.yaml — Prerequisites (if needed):
- Any required ConfigMaps, Secrets, RBAC, or namespace setup
-
teardown.yaml — Cleanup resources:
- Delete the StorageCluster CR and any other created resources
Acceptance Criteria
Depends on
Parent Epic
Test Configuration Bundle for Certsuite Operand Installation
Summary
Create the first test configuration bundle for
ocs-operatoras a proof-of-concept, following the bundle spec defined in issue #1.Details
Research the ocs-operator CRD schema and create the following files under
bundles/ocs-operator/:Files to create
metadata.yaml— Machine-readable contract:stable), namespace (openshift-storage), catalogSource01-operand-crs.yaml— Custom Resources to deploy OCS operands:02-validate.sh— Validation script:Readyphase00-prerequisites.yaml— Prerequisites (if needed):teardown.yaml— Cleanup resources:Acceptance Criteria
bundles/ocs-operator/02-validate.shis executable and exits 0 when operands are healthymetadata.yamlfollows the schema from issue Create a plan based on this documentation #1oc apply -f 01-operand-crs.yamlDepends on
Parent Epic
Test Configuration Bundle for Certsuite Operand Installation