Skip to content

Conversation

hiento09
Copy link
Contributor

This pull request removes the old per-service Helm charts for jan-api-gateway and jan-inference-model, and updates the documentation and configuration to use a new consolidated jan-gateway Helm chart as the main deployment chart. It also removes the Dockerfiles, mock server, and related documentation for the jan-inference-model app, simplifying the repository structure and deployment process.

The most important changes are:

Helm Chart Consolidation and Cleanup:

  • Removed the old apps-charts/jan-api-gateway and apps-charts/jan-inference-model Helm charts, including all templates, values files, and helpers. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Added a new consolidated charts/jan-gateway/Chart.yaml as the main deployment chart, with dependencies for PostgreSQL and Valkey.

Documentation and Configuration Updates:

  • Updated README.md to reference charts/jan-gateway instead of the removed umbrella-chart, and removed references to the old per-service charts. [1] [2] [3] [4] [5]
  • Updated .gitignore files to reflect the new chart structure. [1] [2]

jan-inference-model Cleanup:

  • Removed the apps/jan-inference-model/README.md, Dockerfile, Dockerfile.mock, and the mock server code and requirements, as well as related ignore rules. [1] [2] [3] [4] [5] [6]

These changes simplify deployment and maintenance by consolidating Helm charts and removing unused or redundant files.

@hiento09 hiento09 self-assigned this Sep 26, 2025
@hiento09 hiento09 force-pushed the chore/refactor-charts branch from cf39df1 to e065bca Compare September 26, 2025 07:41
@hiento09 hiento09 force-pushed the chore/refactor-charts branch from 508c00e to 5b5a487 Compare September 26, 2025 08:24
Copy link
Collaborator

@jjchen01 jjchen01 left a comment

Choose a reason for hiding this comment

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

LGTM

{{- else }}
# External PostgreSQL with plain values
WRITE_DSN="host={{ .Values.externalPostgresql.host }} user={{ .Values.externalPostgresql.username }} password={{ .Values.externalPostgresql.password }} dbname={{ .Values.externalPostgresql.database }} port={{ .Values.externalPostgresql.port }} sslmode=disable"
READ_DSN="host={{ .Values.externalPostgresql.host }} user={{ .Values.externalPostgresql.username }} password={{ .Values.externalPostgresql.password }} dbname={{ .Values.externalPostgresql.database }} port={{ .Values.externalPostgresql.port }} sslmode=disable"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually, I used to receive read_dsn as an array. However, let's keep it this way for now, since modifying it later would require changing the traffic splitting strategy from the ingress rule.

@hiento09 hiento09 merged commit aa7d19e into main Sep 26, 2025
1 check passed
@hiento09 hiento09 deleted the chore/refactor-charts branch September 26, 2025 09:01
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