improvement(helm): support copilot-only deployments#3185
Merged
waleedlatif1 merged 1 commit intostagingfrom Feb 11, 2026
Merged
improvement(helm): support copilot-only deployments#3185waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile OverviewGreptile SummaryThis PR enables copilot-only deployments in the Helm chart by fixing several critical issues:
The changes follow established patterns from the main PostgreSQL setup and enable three deployment scenarios: standard (app+realtime), copilot-only, and full (all services). Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Helm as Helm Chart
participant Schema as JSON Schema
participant Ingress as Ingress Resources
participant Copilot as Copilot Server
participant Migrations as Migration Job
participant DB as PostgreSQL
Note over Helm,Schema: Copilot-Only Deployment Flow
Helm->>Schema: Validate configuration
Schema->>Schema: Check if app/realtime disabled
Schema->>Schema: Verify copilot enabled OR externalDatabase
Schema-->>Helm: Validation passes (copilot-only allowed)
Helm->>DB: Deploy StatefulSet
Note over DB: PGDATA=/var/lib/postgresql/data/pgdata
Note over DB: subPath mount: pgdata
DB->>DB: Initialize with correct data directory
Helm->>Migrations: Create migration job
Migrations->>DB: Wait for PostgreSQL (pg_isready)
Note over Migrations: Uses configured postgres:17-alpine image
DB-->>Migrations: Database ready
Migrations->>DB: Run migrations
Helm->>Ingress: Create ingress rules
Note over Ingress: Skip app rules (app.enabled=false)
Note over Ingress: Skip realtime rules (realtime.enabled=false)
Ingress->>Copilot: Route only copilot paths
Copilot->>DB: Connect to database
DB-->>Copilot: Connection established
|
e571ed8 to
d4107da
Compare
Collaborator
Author
|
@cursor review |
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
Type of Change
Testing
Validated via helm template for standard, copilot-only, and full+copilot scenarios
Checklist