fix(helm): align defaults with raster-core and split server/telemetry values - #40
Open
CL-SHLOMIKONCHA wants to merge 10 commits into
Open
CL-SHLOMIKONCHA wants to merge 10 commits into
CL-SHLOMIKONCHA wants to merge 10 commits into
Conversation
…emetry from global - configManagement.offlineMode: true, version: latest - env.targetPort: 8080 (deployment/probes already reference it) - env.jobnik.worker.concurrency: 1 (configmap referenced a missing key) - worker.capabilities.pairs: Ingestion_Update + Delete_Layer tiles-deletion - env.tracing and env.openTelemetryOptions are now merged with global.tracing / global.openTelemetryOptions like the other raster services - drop the unused cleaner.tracingUrl helper
Align the chart with ts-server-boilerplate: - replace the flat env block with a server scope (port, targetPort) and a telemetry scope (logger, tracing); move the cleaner specific keys (queue, jobnik, worker, httpRetry, disableHttpClientLogs, strategies) to top-level scopes with the same names - 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 commonWorkerBoilerplateV2 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 - enable tracing and opentelemetry logging by default - drop the metricsUrl helper and the merged telemetry helpers Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…eProviders Set configManagement.serverUrl to http://localhost:8080/api as in the raster-core umbrella chart and make storage.cleanupStorageProviders an empty list so rendering without providers no longer fails on has "S3". Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Only the server and telemetry values leave env. The cleaner specific keys (queue, jobnik, worker, httpRetry, disableHttpClientLogs, strategies) stay under env as on master. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…the template The configmap already falls back to 1, so the value is not required. Use a nil-safe lookup so the key renders without the block and still honors env.jobnik.worker.concurrency when set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Ship the value again and keep the original with block in the configmap. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…(MAPCO-11633) Move the ca defaults (secretName, path, key) under global.ca and read them directly in the deployment instead of merging a chart-level ca scope. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
vitaligi
requested changes
Sep 15, 2026
Comment on lines
+135
to
136
| - job: "Delete_Layer" | ||
| task: "tiles-deletion" |
Contributor
There was a problem hiding this comment.
should we add artifacts-deletion as well? if worker.capabilities.pairs is overidden by global all/most of time, should we just put it in comment?
Comment on lines
+10
to
+13
| ca: | ||
| secretName: '' | ||
| path: '/usr/local/share/ca-certificates' | ||
| key: 'ca.crt' |
| {{- $cloudProviderImagePullSecretName := include "cleaner.cloudProviderImagePullSecretName" . -}} | ||
| {{- $imageTag := include "cleaner.tag" . -}} | ||
| {{- $ca := fromYaml (include "common.ca.merged" .) -}} | ||
| {{- $server := .Values.server -}} |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues: raster-core umbrella chart TODOs (
helm-charts-new→charts/raster-core/values.yaml,site-values→raster/core/*), MapColonies/ts-server-boilerplate#476 (MAPCO-11622)Further information:
Defaults (resolve the raster-core / site-values
# TODOoverrides for cleaner)configManagement.offlineModefalsetruejobnik.worker.concurrency1configManagement.version''latestconfigManagement.serverUrl''http://localhost:8080/apiserver.targetPort8080worker.capabilities.pairsIngestion_Update,Ingestion_Swap_UpdateIngestion_Update,Delete_Layer(bothtiles-deletion)storage.cleanupStorageProviders{}[]telemetry.tracing.enabledfalsetruetelemetry.logger.opentelemetryOptions.enabledfalsetrueca.*global.caglobal.ca.*only (same defaults)Server / telemetry split (mirrors ts-server-boilerplate#476)
envblock is replaced by aserverscope (port,targetPort) and atelemetryscope (logger,tracing). The cleaner specific keys (queue,jobnik,worker,httpRetry,disableHttpClientLogs,strategies) stay underenvunchanged.level/prettyPrint;logger.opentelemetryOptionsholdsenabled,urland optionalresourceAttributes.OPENTELEMETRY_LOGGING_ENABLED,OTLP_LOGGER_ENDPOINT_URLandOTEL_RESOURCE_ATTRIBUTES(key=value,key=value), the names thecommonWorkerBoilerplateV2schema and the OpenTelemetry SDK read. The previousTELEMETRY_LOGGER_OTEL_*names were not consumed by the schema.config/custom-environment-variables.jsonmaps the same three names. Enabled flags are always exported, urls only when enabled.global.telemetrywith 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.openTelemetryOptionsandglobal.metricsare removed.metricsUrl,common.tracing.mergedandcommon.openTelemetryOptions.mergedhelpers are removed.cavalues move underglobal.ca(secretName,path,key) and the deployment reads them directly, like the other raster services; the chart-levelcascope and thecommon.ca.mergedhelper are removed.Breaking for consumers: umbrella charts and site values setting
env.*,global.tracing.*orglobal.openTelemetryOptions.*must move toserver.*,telemetry.*andglobal.telemetry.*;env.queue,env.jobnik,env.worker,env.httpRetry,env.disableHttpClientLogsandenv.strategiesremain valid paths. In particularcleaner.env.openTelemetryOptions.url(site-valuesraster/core/base.yaml.gotmpl) becomescleaner.telemetry.logger.opentelemetryOptions.url, andcleaner.env.tracing/cleaner.env.openTelemetryOptions/cleaner.env.targetPort/cleaner.env.jobnik/cleaner.env.workerinraster-core/values.yamlcan be dropped since the defaults now match.Notes for reviewers
pairsdefault follows the raster-core override exactly, which dropsIngestion_Swap_Update.config/default.jsonstill lists four pairs (includingIngestion_Swap_UpdateandDelete_Layer/artifacts-deletion). Please confirm which set the chart default should carry.resourceAttributesmapped as a plain string, the config object holds the rawkey=valuetext; the attributes reach exported log records through the OpenTelemetry SDK, which readsOTEL_RESOURCE_ATTRIBUTESitself.🤖 Generated with Claude Code