Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.93 KB

AGENTS.md

File metadata and controls

76 lines (52 loc) · 1.93 KB

mce-operator-bundle — Agent Instructions

This repository holds manifests and build logic for the MCE operator bundle.

What this repository contains

The MCE operator bundle packages the backplane-operator for distribution via OLM (Operator Lifecycle Manager). It includes:

  • ClusterServiceVersion (CSV) manifest
  • CRD manifests for MultiClusterEngine
  • Operator metadata and annotations
  • Bundle Dockerfile and build scripts

Repository layout

  • bundle/ - OLM bundle manifests (CSV, CRDs, metadata)
  • bundle.Dockerfile - Dockerfile for building bundle image
  • scripts/ - Build and validation scripts
  • config/ - Kustomize overlays for bundle generation

Build process

Generate bundle

make bundle       # Generate bundle manifests from upstream operator
make bundle-build # Build bundle image
make bundle-push  # Push bundle image to registry

Validate bundle

operator-sdk bundle validate ./bundle

Dependencies

  • backplane-operator - Upstream operator source
  • Operator SDK - Bundle generation and validation
  • OLM - Operator Lifecycle Manager (target platform)

Documentation

Common tasks

Update bundle from upstream

# Update CSV and CRDs from backplane-operator
make bundle

# Review changes
git diff bundle/

Test bundle locally

# Build and push bundle
export QUAY_USER=<your-quay-username>
make bundle-build bundle-push

# Install via OLM
operator-sdk run bundle quay.io/$QUAY_USER/mce-operator-bundle:latest

Validate bundle before release

operator-sdk bundle validate ./bundle --select-optional suite=operatorframework