Skip to content

fix: set Helm deploy type for application services - #929

Open
eseliger wants to merge 1 commit into
mainfrom
fix/consistent-deploy-type
Open

fix: set Helm deploy type for application services#929
eseliger wants to merge 1 commit into
mainfrom
fix/consistent-deploy-type

Conversation

@eseliger

@eseliger eseliger commented Aug 26, 2026

Copy link
Copy Markdown
Member

Set DEPLOY_TYPE=helm consistently for every Sourcegraph application container rendered by the chart: Blobstore, Frontend, Migrator, Gitserver, both indexed-search containers, Searcher, precise and syntactic code-intel workers, Syntect, and all Worker deployments.

Third-party infrastructure containers such as PostgreSQL, Redis, Prometheus, Grafana, Jaeger, and OpenTelemetry are intentionally excluded because this Sourcegraph-specific variable has no meaning for them.

This env var tells our services to be in Kubernetes mode. Right now, not setting it defaults to kubernetes, so in practice this change will not change behavior. But it seems way safer to set this explicitly instead of relying on the env vars default.

@eseliger
eseliger force-pushed the fix/consistent-deploy-type branch from 80125e0 to 3118c24 Compare August 26, 2026 13:41
Frontend explicitly identifies itself as a Helm deployment, while other Sourcegraph application containers rely on defaults or omit the deployment type entirely.

Set DEPLOY_TYPE=helm consistently across Sourcegraph application containers and cover every rendered workload, including split Worker deployments.

Amp-Thread-ID: https://ampcode.com/threads/T-01a03b58-f45a-72a4-996d-962f25f3c9ab
@eseliger
eseliger force-pushed the fix/consistent-deploy-type branch from 3118c24 to 7bae6a5 Compare August 26, 2026 13:43
@eseliger eseliger changed the title fix: set Helm deploy type for backend services fix: set Helm deploy type for application services Aug 26, 2026
@eseliger
eseliger marked this pull request as ready for review August 26, 2026 13:46
@eseliger
eseliger requested a review from a team August 26, 2026 13:46
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.

1 participant