-
Notifications
You must be signed in to change notification settings - Fork 0
chore: helm chart configuration #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Remove ct lint step (too restrictive, requires maintainers) - Remove chart-testing-action setup (unused) - Add --kube-version 1.28.0 to helm template for compatibility - Fix Chart.yaml URLs to point to stacklok/toolhive-cloud-ui - Remove maintainers field (not required without ct lint) - Align with toolhive operator chart structure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive Helm chart configuration for deploying the ToolHive Cloud UI Next.js application to Kubernetes, with optimization for local development using Kind.
Key Changes:
- Complete Helm chart with deployment, service, HPA, and service account templates
- Development and production value configurations with security contexts and resource limits
- Makefile targets for Kind cluster management and deployment automation
- CI/CD workflows for Helm chart linting and integration testing
Reviewed Changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| helm/Chart.yaml | Helm chart metadata defining v0.1.0 with Next.js/React keywords and Kubernetes 1.24+ requirement |
| helm/values.yaml | Default configuration with security contexts, probes, and resource limits |
| helm/values-dev.yaml | Development overrides with faster probes and local image pull settings |
| helm/templates/_helpers.tpl | Template helpers for consistent naming and labeling across resources |
| helm/templates/deployment.yaml | Kubernetes Deployment with configurable replicas, security contexts, and health checks |
| helm/templates/service.yaml | ClusterIP service exposing port 80 with NodePort support |
| helm/templates/serviceaccount.yaml | Conditional ServiceAccount creation with configurable token automount |
| helm/templates/hpa.yaml | Optional HorizontalPodAutoscaler with CPU/memory-based scaling |
| helm/.helmignore | Standard Helm ignore patterns for VCS, backups, and IDE files |
| Makefile | Added Kind cluster management targets (create, delete, deploy, logs, port-forward) |
| README.md | Documentation for Kubernetes deployment with Kind quick start guide |
| .github/workflows/lint-helm.yml | CI workflow for Helm chart syntax validation and template rendering |
| .github/workflows/helm-test.yml | Integration test workflow deploying to Kind and verifying app response |
| .gitignore | Added Helm-specific ignore patterns for charts and lock files |
| Dockerfile | Simplified comment on dependency installation line |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Add RELEASE_NAME variable to avoid hardcoded deployment name - Use variable in kind-deploy, kind-uninstall, kind-logs, kind-port-forward - Improves flexibility and maintainability - Addresses Copilot review suggestion
Configure helm chart and use kind for testing it in ci
Tested locally as well with kind