Skip to content

fix(helm): configurable imagePullPolicy and task polling defaults - #265

Open
CL-SHLOMIKONCHA wants to merge 1 commit into
masterfrom
fix/helm-default-values
Open

fix(helm): configurable imagePullPolicy and task polling defaults#265
CL-SHLOMIKONCHA wants to merge 1 commit into
masterfrom
fix/helm-default-values

Conversation

@CL-SHLOMIKONCHA

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

Related issues: MAPCO-11633, raster-export / raster-ingestion umbrella TODOs (helm-charts-newcharts/raster-export/values.yaml, charts/raster-ingestion/values.yaml), site-values raster/export/*.yaml, raster/ingestion/*.yaml

Further information:

Default values

Key Old New
imagePullPolicy hardcoded Always in the deployment new value, default IfNotPresent
env.TASK.pollingTime 1000 3000
env.heartbeat.intervalMs 300 3000
mclabels.prometheus.port 8080 9500 (the port env.metrics.port exposes)

The deployment now renders imagePullPolicy: {{ .Values.imagePullPolicy }}, so the umbrella and site-values TODOs "no image pull policy set for this container inside service" are resolved: consumers can set imagePullPolicy like the other raster charts (top-level key, same as exporter-trigger and polygon-parts-manager).

Consumer lines that can be dropped once this ships

  • raster-export exporter-gpkg-merger.env.TASK.pollingTime, exporter-gpkg-merger.env.heartbeat.intervalMs and the "image pull policy hardcoded" TODO comment.
  • raster-ingestion gpkg-merger.mclabels.prometheus.port, gpkg-merger.env.TASK.pollingTime, gpkg-merger.env.heartbeat.intervalMs.
  • site-values raster/export/{dev,qa}.yaml and raster/ingestion/{dev,qa}.yaml TODO comments under the gpkg-merger blocks.

Not changed: MergerService/appsettings.json still has pollingTime: 1000 and intervalMs: 300 for local runs; the chart values override them in deployments.

🤖 Generated with Claude Code

- add a top-level imagePullPolicy value (default IfNotPresent) and use it
  in the deployment instead of the hardcoded Always
- default TASK.pollingTime and heartbeat.intervalMs to 3000, matching the
  raster-export and raster-ingestion umbrella overrides
- default mclabels.prometheus.port to 9500, the port the service exposes
  metrics on

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.

1 participant