Skip to content

Conversation

@peppescg
Copy link
Collaborator

@peppescg peppescg commented Nov 13, 2025

Configure helm chart and use kind for testing it in ci

Tested locally as well with kind

Screenshot 2025-11-13 at 15 15 43

@peppescg peppescg self-assigned this Nov 13, 2025
@peppescg peppescg marked this pull request as ready for review November 13, 2025 15:24
Copilot AI review requested due to automatic review settings November 13, 2025 15:24
- 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
Copy link

Copilot AI left a 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
@peppescg peppescg changed the title chore: wip helm chart configuration chore: helm chart configuration Nov 13, 2025
@peppescg peppescg merged commit 98a2208 into main Nov 13, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants