create-cpo-override
Interactively create CPO image overrides — resolves images, verifies fixes, edits overrides.yaml, and prepares a PR
Build and push hypershift-operator container image. Auto-applies when testing HO changes that require deploying to a live cluster.
Claude Code
$ npx -y skills add openshift/hypershift --skill build-ho-image --agent claude-code
Codex
$ npx skills add openshift/hypershift --skill build-ho-image -a codex -y
Cursor
$ npx skills add openshift/hypershift --skill build-ho-image -a cursor -y
Gemini CLI
$ npx skills add openshift/hypershift --skill build-ho-image -a gemini-cli -y
GitHub Copilot
$ npx skills add openshift/hypershift --skill build-ho-image -a github-copilot -y
OpenCode
$ npx skills add openshift/hypershift --skill build-ho-image -a opencode -y
Windsurf
$ npx skills add openshift/hypershift --skill build-ho-image -a windsurf -y
name: Build HO Image description: "Build and push hypershift-operator container image. Auto-applies when testing HO changes that require deploying to a live cluster."
This skill enables building and pushing custom hypershift-operator (HO) images for testing changes in a live HyperShift environment.
This skill automatically applies when:
Source the environment file before using this skill:
source dev/claude-env.sh
Environment variables from `dev/claude-env.sh`:
| Variable | Description | |----------|-------------| | `HO_IMAGE_REPO` | Container registry for HO images | | `RUNTIME` | Container runtime (podman/docker) |
Use a tag that identifies the change (branch name, feature, or timestamp):
# Option 1: Use branch name TAG=$(git rev-parse --abbrev-ref HEAD | tr '/' '-') # Option 2: Use short commit hash TAG=$(git rev-parse --short HEAD) # Option 3: Use descriptive name + number for iterations TAG="feature-name-1"
The HO image uses the main `Dockerfile`:
$RUNTIME build -f Dockerfile --platform linux/amd64 -t $HO_IMAGE_REPO:$TAG .
**Note**: The build runs `make hypershift`, `make hypershift-operator`, `make karpenter-operator`, and `make product-cli` inside the container.
$RUNTIME push $HO_IMAGE_REPO:$TAG
Build and push in one command:
TAG="my-fix-1" && $RUNTIME build -f Dockerfile --platform linux/amd64 -t $HO_IMAGE_REPO:$TAG . && $RUNTIME push $HO_IMAGE_REPO:$TAG
When iterating on HO fixes:
1. Make code changes in `hypershift-operator/` 2. Build and push image with incremented tag (e.g., `fix-1`, `fix-2`, `fix-3`) 3. Reinstall HyperShift with new image 4. Run e2e test or manual validation 5. Analyze results 6. Repeat until test passes
The main `Dockerfile` builds:
All are included in the final image.
HyperShift is a middleware for hosting OpenShift control planes at scale that solves for cost and time to provision, as well as portability cross cloud with strong separation of concerns between management and workloads.
Interactively create CPO image overrides — resolves images, verifies fixes, edits overrides.yaml, and prepares a PR
Provides systematic debugging approaches for HyperShift hosted-cluster issues. Auto-applies when debugging cluster problems,…
Build and push control-plane-operator container image. Auto-applies when testing CPO changes that require deploying to a live…
Create a HyperShift HostedCluster on AWS for development and testing, with optional custom CPO/HO images.
Destroy a HyperShift HostedCluster and all associated AWS infrastructure (VPC, IAM, Route53, etc.).
Provides the ability to run and iterate on HyperShift e2e tests. Auto-applies when implementing features that require e2e…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.