Skip to content

helm: split server and telemetry values and fix default values (MAPCO-11633) - #53

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

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

Conversation

@CL-SHLOMIKONCHA

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

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

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

Further information:

Defaults (resolve the raster-ingestion / site-values # TODO overrides for cache-seeder)

Key Before After
image.pullPolicy Always IfNotPresent
env.seedConcurrency 5 25

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 cache-seeder specific keys (httpRetry, queue, mapproxy, seedAttempts, seedConcurrency, mapproxyCmdCommand, refreshBeforeYearsOffset, invalidBboxInitialBufferMeters, invalidBboxRetryLimit) stay under env unchanged.
  • Logger keys renamed to level / prettyPrint; logger.opentelemetryOptions holds enabled, url and optional resourceAttributes. The top-level tracing block moves to telemetry.tracing.
  • The configmap exports OPENTELEMETRY_LOGGING_ENABLED, OTLP_LOGGER_ENDPOINT_URL and OTEL_RESOURCE_ATTRIBUTES (key=value,key=value), the names the boilerplate schema and the OpenTelemetry SDK read. The previous OPENTELEMETRY_LOGGING_URL / OPENTELEMETRY_RESOURCE_ATTRIBUTES names were not consumed by the schema. config/custom-environment-variables.json maps the same names. Enabled flags are always exported, urls only when enabled.
  • 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. global.tracing, global.openTelemetryOptions and global.metrics are removed.
  • The top-level metrics values are removed (nothing in the chart or service reads them; Prometheus scrape annotations come from mclabels.prometheus), together with the metricsUrl, common.tracing.merged, common.metrics.merged and common.openTelemetryOptions.merged helpers.

Breaking for consumers: umbrella charts and site values setting env.port / env.targetPort / env.protocol / env.requestPayloadLimit / env.responseCompressionEnabled / env.logLevel / env.logPrettyPrintEnabled / env.openTelemetryOptions, top-level tracing / metrics, or global.tracing.* / global.openTelemetryOptions.* / global.metrics.* must move to server.*, telemetry.* and global.telemetry.*. env.httpRetry, env.queue, env.mapproxy, env.seed* and the other cache-seeder keys remain valid paths. cache-seeder.image.pullPolicy in raster-ingestion/values.yaml and raster/ingestion/qa.yaml, and cache-seeder.env.seedConcurrency: 25 in raster-ingestion/values.yaml, can be dropped since the defaults now match.

🤖 Generated with Claude Code

CL-SHLOMIKONCHA and others added 4 commits September 10, 2026 15:56
…1633)

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); the cache-seeder specific keys
  (httpRetry, queue, mapproxy, seed*, mapproxyCmdCommand,
  refreshBeforeYearsOffset, invalidBbox*) stay under env unchanged
- rename logger keys to level and prettyPrint to match the config schema
- export OPENTELEMETRY_LOGGING_ENABLED, OTLP_LOGGER_ENDPOINT_URL and
  OTEL_RESOURCE_ATTRIBUTES (key=value,key=value), the names the
  boilerplate schema and the OpenTelemetry SDK read, and map them in
  config/custom-environment-variables.json
- always export the enabled flags, urls only when enabled
- 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 metrics values (nothing reads them, Prometheus annotations
  come from mclabels), the metricsUrl helper and the merged telemetry
  helpers

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Resolves the raster-ingestion umbrella / site-values TODO override.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…MAPCO-11633)

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