Skip to content

fix(chart): default threadsAddress to threads:50051#18

Merged
rowan-stein merged 1 commit intomainfrom
fix/default-threads-address
Mar 24, 2026
Merged

fix(chart): default threadsAddress to threads:50051#18
rowan-stein merged 1 commit intomainfrom
fix/default-threads-address

Conversation

@emerson-gray
Copy link
Copy Markdown
Contributor

Problem

The chat Helm chart v0.2.0 uses required on chat.threadsAddress, which forces every deployment (bootstrap terraform, ArgoCD, etc.) to explicitly set this value. If omitted, Helm template rendering fails:

Error: execution error at (chat/templates/deployment.yaml:1:4): chat.threadsAddress must be set

This breaks agynio/bootstrap PR #156 which bumps the chat chart to v0.2.0.

Convention

The gateway chart follows a convention where all inter-service gRPC targets default to their in-cluster Kubernetes DNS names:

# gateway/charts/gateway/values.yaml
gateway:
  agentsGrpcTarget: "agents:50051"
  threadsGrpcTarget: "threads:50051"
  chatGrpcTarget: "chat:50051"
  # ...

Bootstrap only overrides values that are genuinely deployment-specific (OIDC config). It does not override inter-service addresses because the defaults are correct for the standard deployment topology.

Fix

  1. values.yaml: Change chat.threadsAddress default from "" to "threads:50051"
  2. _helpers.tpl: Remove the required check — the default is always valid

The helm lint step in helm-release.yml currently works around the required check with --set chat.threadsAddress=threads:50051. That override becomes unnecessary (but harmless) after this fix.

Impact

  • Unblocks agynio/bootstrap#156 (chat v0.2.0 deployment)
  • Aligns with the gateway chart convention
  • No behavior change for deployments that already explicitly set chat.threadsAddress

Requires a new tag (v0.2.1) after merge, and bootstrap PR #156 should be updated to reference v0.2.1.

Follow the same convention as the gateway chart where inter-service
gRPC targets default to the in-cluster Kubernetes DNS name
(<service>:50051). This removes the need for every deployment to
explicitly pass chat.threadsAddress.

- Change values.yaml default from '' to 'threads:50051'
- Remove the Helm 'required' check; the default is always valid
emerson-gray added a commit to agynio/bootstrap that referenced this pull request Mar 24, 2026
Chat chart v0.2.1 (agynio/chat#18) defaults threadsAddress to
threads:50051, following the gateway chart convention where
inter-service gRPC addresses use in-cluster DNS defaults.

Remove the v0.1.0-specific service.port and threads.address overrides
— the chart defaults handle both correctly.

This also removes the x-tenant-id requirement (dropped in chat v0.2.0,
agynio/chat#17), unblocking real-API e2e tests in agynio/chat-app#38.
@rowan-stein rowan-stein merged commit 4f3d766 into main Mar 24, 2026
1 check passed
vitramir pushed a commit to agynio/bootstrap that referenced this pull request Mar 24, 2026
* chore: bump chat chart version to 0.2.0

Chat v0.1.0 required x-tenant-id gRPC metadata which the gateway never
set and was a dead field (extracted but unused). Chat v0.2.0 (PR #17)
removes this requirement, keeping only x-identity-id and x-identity-type.

Unblocks e2e tests in agynio/chat-app#38.

* chore: bump chat chart version to 0.2.1

Chat chart v0.2.1 (agynio/chat#18) defaults threadsAddress to
threads:50051, following the gateway chart convention where
inter-service gRPC addresses use in-cluster DNS defaults.

Remove the v0.1.0-specific service.port and threads.address overrides
— the chart defaults handle both correctly.

This also removes the x-tenant-id requirement (dropped in chat v0.2.0,
agynio/chat#17), unblocking real-API e2e tests in agynio/chat-app#38.

* ci: re-trigger after chat v0.2.1 chart published

* fix: drop v prefix from chat image tag resolution

The chat Docker workflow uses docker/metadata-action with
semver pattern={{version}} which strips the v prefix from tags.
Tag v0.2.1 produces image ghcr.io/agynio/chat:0.2.1 (no v).

Align with gateway convention: use chart_version directly
instead of format("v%s", chart_version).

* chore: bump chat chart to 0.2.2 (numeric UID fix)

* fix: revert accidental notifications_chart_version bump

---------

Co-authored-by: Emerson Gray <emerson.gray@agyn.io>
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