Skip to content

Conversation

@ktpedre
Copy link
Contributor

@ktpedre ktpedre commented Oct 31, 2025

This deploys the atlas-ui-3 only with no authentication. A future update will add a nginx reverse proxy gateway that interfaces with an oauth2/oidc provider.

This deploys the atlas-ui-3 only with no authentication.
A future update will add a nginx reverse proxy gateway that interfaces with an oauth2/oidc provider.
@garland3 garland3 requested a review from Copilot October 31, 2025 22:17
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 introduces Helm chart deployment configurations for the atlas-ui-3 application, enabling Kubernetes deployments. The chart includes comprehensive configuration management with environment variables, secrets, persistent storage, and service exposure.

  • Adds complete Helm chart structure with deployment, service, ingress, and storage resources
  • Configures application via environment variables and ConfigMaps for MCP servers, LLM models, and help documentation
  • Includes resource limits, persistent volume claims, and ingress routing

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
helm-chart/Chart.yaml Defines Helm chart metadata and versioning
helm-chart/values.yaml Comprehensive default values including env vars, secrets, resources, and configuration files
helm-chart/templates/_helpers.tpl Template helper for consistent label generation
helm-chart/templates/configmaps.yaml ConfigMap template for mounting configuration files
helm-chart/templates/deployment.yaml Main deployment resource with container spec, volumes, and env configuration
helm-chart/templates/ingress.yaml Ingress routing configuration for external access
helm-chart/templates/logs-pvc.yaml Persistent volume claim for application logs
helm-chart/templates/secrets.yaml Secret template for sensitive configuration
helm-chart/templates/service.yaml Service resource for internal networking
Comments suppressed due to low confidence (1)

helm-chart/values.yaml:1

  • The AGENT_MAX_STEPS value is set to 30, which differs from the .env.example default of 10. This inconsistency could lead to confusion. Consider using 10 to match the documented default, or add a comment explaining why the Helm default differs.
# -- Container image

value: "false"
# MCP / tools panel
- name: FEATURE_TOOLS_ENABLED
value: "true"
Copy link

Copilot AI Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FEATURE_TOOLS_ENABLED is set to true, but in .env.example it defaults to false. This inconsistency between deployment environments could cause unexpected behavior. Consider aligning with the .env.example default or documenting why Helm deployments should have this enabled by default.

Suggested change
value: "true"
value: "false"

Copilot uses AI. Check for mistakes.
value: "true"
# Marketplace browsing
- name: FEATURE_MARKETPLACE_ENABLED
value: "true"
Copy link

Copilot AI Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FEATURE_MARKETPLACE_ENABLED is set to true, but in .env.example it defaults to false. This inconsistency between deployment environments could cause unexpected behavior. Consider aligning with the .env.example default or documenting why Helm deployments should have this enabled by default.

Suggested change
value: "true"
value: "false"

Copilot uses AI. Check for mistakes.
Comment on lines +44 to +47
- name: {{ .Release.Name }}-config-volume
mountPath: /app/config/defaults
- name: {{ .Release.Name }}-config-volume
mountPath: /app/config/overrides
Copy link

Copilot AI Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same volume is mounted twice at different paths (/app/config/defaults and /app/config/overrides). This will cause the second mount to override the first. If both paths need the same ConfigMap data, use subPath, or if they need different data, create separate volumes with distinct names.

Copilot uses AI. Check for mistakes.
Comment on lines +117 to +121
cpu: 8
memory: 32Gi
limits:
cpu: 8
memory: 32Gi
Copy link

Copilot AI Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resource requests and limits are set to 8 CPU cores and 32GB memory, which are very high for a typical web application. These values may cause scheduling issues in resource-constrained Kubernetes clusters. Consider using more conservative defaults (e.g., 1-2 CPUs and 2-4GB memory) that can be overridden for production deployments.

Suggested change
cpu: 8
memory: 32Gi
limits:
cpu: 8
memory: 32Gi
cpu: 1
memory: 2Gi
limits:
cpu: 1
memory: 2Gi

Copilot uses AI. Check for mistakes.
@garland3
Copy link
Collaborator

garland3 commented Nov 4, 2025

We should move this to the scripts folder and update the readme.md

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.

2 participants