From e9615826174fb6d927c7d85fa06ba910e3b950e3 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Wed, 11 Nov 2026 04:22:39 -0600 Subject: [PATCH] sourcegraph: render frontend and migrator command as a list A list set in frontend.command or migrator.command was rendered as one element, so the container could not start. Render both with toYaml, and keep rendering a string holding a YAML list unchanged. Add openTelemetry.gateway.command to replace the otel-collector command. Amp-Thread-ID: https://ampcode.com/threads/T-01a1ca07-0283-75f1-837f-d0eb0aa7ee1c Co-authored-by: Amp --- charts/sourcegraph/CHANGELOG.md | 2 + charts/sourcegraph/README.md | 3 + .../sourcegraph-frontend.Deployment.yaml | 8 +-- .../otel-collector.Deployment.yaml | 4 ++ charts/sourcegraph/tests/command_test.yaml | 72 +++++++++++++++++++ charts/sourcegraph/values.yaml | 12 ++++ 6 files changed, 97 insertions(+), 4 deletions(-) create mode 100644 charts/sourcegraph/tests/command_test.yaml diff --git a/charts/sourcegraph/CHANGELOG.md b/charts/sourcegraph/CHANGELOG.md index 9f8ad6c40..eaf25b868 100644 --- a/charts/sourcegraph/CHANGELOG.md +++ b/charts/sourcegraph/CHANGELOG.md @@ -8,6 +8,8 @@ Use `**BREAKING**:` to denote a breaking change ## Unreleased +- Fixed `frontend.command` and `migrator.command` rendering a list as a single element, e.g. `["sh", "-c", "