Repository navigation
🌱 Remove Toolhive CRD and operator from install process and tests - #588
Merged
Merged
Conversation
Signed-off-by: Paolo Dettori <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the Toolhive CRD and operator from the Kagenti installation process and tests, transitioning to standard Kubernetes Deployments and Services for MCP tools instead of custom MCPServer CRDs.
Changes:
- Removed Toolhive CRD and operator installation from Ansible roles, Helm charts, and environment configuration files
- Updated test fixtures to reflect new service naming convention (e.g.,
weather-tool-mcpinstead ofmcp-weather-tool-headless) - Deleted legacy MCPServer example manifests and the obsolete
43-wait-toolhive-crds.shscript - Removed Toolhive references from cleanup scripts, deployment workflows, and GitHub CI scripts
- Updated comments to reflect that tools now use standard Kubernetes workloads
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| kagenti/tests/e2e/conftest.py | Removed toolhive feature flags from test configuration |
| kagenti/tests/e2e/kagenti_operator/conftest.py | Updated weather tool service name fixture to new naming convention |
| kagenti/examples/tools/weather_tool_shipwright.yaml | Deleted legacy MCPServer CRD examples |
| kagenti/examples/mcpservers/weather_tool_ocp.yaml | Deleted OpenShift MCPServer example |
| kagenti/examples/mcpservers/weather_tool.yaml | Updated comment to remove MCPServer CRD reference |
| deployments/envs/ocp_values.yaml | Removed toolhive settings and chart entries |
| deployments/envs/dev_values_minimal_auth.yaml | Removed toolhive configuration |
| deployments/envs/dev_values_minimal.yaml | Removed toolhive configuration |
| deployments/envs/dev_values.yaml | Removed toolhive settings and component entries |
| deployments/ansible/roles/kagenti_installer/tasks/main.yml | Removed 80+ lines of Toolhive installation tasks and OpenShift SCC workarounds |
| deployments/ansible/roles/kagenti_installer/tasks/01_setup_vars.yaml | Removed toolhive variable merges |
| deployments/ansible/default_values.yaml | Removed toolhive defaults and chart configuration |
| deployments/ansible/cleanup-install.sh | Removed toolhive-system namespace and MCPServer CR cleanup |
| charts/kagenti/templates/ui.yaml | Removed RBAC permissions for toolhive.stacklok.dev API group |
| charts/kagenti-deps/values.yaml | Removed toolhive components and fixed formatting |
| .github/scripts/local-setup/kind-full-test.sh | Removed Toolhive CRD wait step |
| .github/scripts/local-setup/hypershift-full-test.sh | Removed Toolhive CRD wait step |
| .github/scripts/lib/k8s-utils.sh | Removed toolhive from CRD grep pattern |
| .github/scripts/kind/deploy-platform.sh | Removed Toolhive step and renumbered remaining steps |
| .github/scripts/kagenti-operator/70-setup-team1-namespace.sh | Updated comment to remove Toolhive operator reference |
| .github/scripts/kagenti-operator/43-wait-toolhive-crds.sh | Deleted obsolete script file |
| .github/scripts/hypershift/create-cluster.sh | Removed Toolhive CRD wait step |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove Toolhive CRD and operator from install process and tests.
Changes Made
Ansible Installer (deployments/ansible/)
Environment Values Files (deployments/envs/)
Charts
GitHub Scripts
Tests and Examples
Related issue(s)
Fixes #558
🤖 Assisted by Claude Code