Skip to content

fix(helm): align values with ts-server-boilerplate server/telemetry split - #76

Open
CL-SHLOMIKONCHA wants to merge 6 commits into
masterfrom
fix/helm-default-values
Open

CL-SHLOMIKONCHA wants to merge 6 commits into
masterfrom
fix/helm-default-values

Conversation

@CL-SHLOMIKONCHA

@CL-SHLOMIKONCHA CL-SHLOMIKONCHA commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor
Question Answer
Bug fix ✔
New feature ✖
Breaking change ✔
Deprecations ✖
Documentation ✖
Tests added ✖
Chore ✖

Related issues: raster-core umbrella chart TODOs (helm-charts-new → charts/raster-core/values.yaml), MapColonies/ts-server-boilerplate#476 (MAPCO-11622)

Further information:

Default values

  • configManagement.offlineMode defaults to true (was false), resolving the # TODO: remove after set this as the default value within service override in the raster-core umbrella chart.
  • Tracing and OpenTelemetry logging are enabled by default with local placeholder urls.

Server / telemetry split (mirrors ts-server-boilerplate#476)

  • The flat env block is replaced by a server scope (port, targetPort, protocol, requestPayloadLimit, responseCompressionEnabled) and a telemetry scope (logger, tracing). The top-level tracing block is gone.
  • Logger keys renamed to level / prettyPrint; logger.opentelemetryOptions holds enabled, url and optional resourceAttributes.
  • The OTLP logger url is exported as OTLP_LOGGER_ENDPOINT_URL, the name the commonBoilerplateV3 schema reads; the previous OPENTELEMETRY_LOGGING_URL key was not consumed. Resource attributes are exported as OTEL_RESOURCE_ATTRIBUTES (key=value,key=value), read by the OpenTelemetry SDK and mapped as a string in the config.
  • OPENTELEMETRY_LOGGING_ENABLED and TELEMETRY_TRACING_ENABLED are always exported with their value.
  • Global overrides move under global.telemetry with the same hierarchy. Only the tracing and OTLP logger urls are overridable from global and take precedence over chart values; enabled flags stay chart-level.
  • common.tracing.merged and common.openTelemetryOptions.merged helpers removed; the unused env.queue values removed.
  • config/custom-environment-variables.json maps telemetry.logger.opentelemetryOptions from OPENTELEMETRY_LOGGING_ENABLED, OTLP_LOGGER_ENDPOINT_URL and OTEL_RESOURCE_ATTRIBUTES.

Breaking for consumers: umbrella charts setting env.*, tracing.*, global.tracing.* or global.openTelemetryOptions.* must move to server.*, telemetry.* and global.telemetry.*.

🤖 Generated with Claude Code

CL-SHLOMIKONCHA and others added 3 commits September 9, 2026 10:08
The raster-core umbrella chart overrides this value on every deployment.
Make it the chart default so the override can be removed.
Align the chart with ts-server-boilerplate:

- replace the flat env block with a server scope (port, targetPort,
  protocol, requestPayloadLimit, responseCompressionEnabled) and a
  telemetry scope (logger, tracing)
- rename logger keys to level and prettyPrint to match the config schema
- export the otlp logger url as OTLP_LOGGER_ENDPOINT_URL and resource
  attributes as OTEL_RESOURCE_ATTRIBUTES in key=value,key=value format,
  the names the commonBoilerplateV3 schema and the OpenTelemetry SDK read
- always export OPENTELEMETRY_LOGGING_ENABLED and TELEMETRY_TRACING_ENABLED
  with their value
- move global overrides under global.telemetry; only the tracing and
  otlp logger urls are overridable from global and take precedence over
  chart values, enabled flags stay chart-level
- drop the top-level tracing block, the unused env.queue values and the
  common.tracing.merged / common.openTelemetryOptions.merged helpers
- reference $server / $telemetry via with blocks across the templates

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… env names

Read telemetry.logger.opentelemetryOptions.url from OTLP_LOGGER_ENDPOINT_URL
and resourceAttributes from OTEL_RESOURCE_ATTRIBUTES, matching the helm
configmap and the commonBoilerplateV3 schema.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@CL-SHLOMIKONCHA CL-SHLOMIKONCHA changed the title fix(helm): set configManagement.offlineMode default to true fix(helm): align values with ts-server-boilerplate server/telemetry split Sep 10, 2026
CL-SHLOMIKONCHA and others added 2 commits September 10, 2026 14:31
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@vitaligi vitaligi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good job!

see similar prettyPrint comment

Comment thread helm/values.yaml
Comment thread helm/values.yaml
Aligns with ts-server-boilerplate#477: loggerConfig already carries prettyPrint,
so spreading it is enough.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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