Skip to content

chart: extraInitContainers/extraVolumes/extraVolumeMounts (AGG-132) - #14

Merged
anthrax63 merged 1 commit into
mainfrom
agent/devops-engineer/agg-132-extra-init-containers
Aug 4, 2026
Merged

chart: extraInitContainers/extraVolumes/extraVolumeMounts (AGG-132)#14
anthrax63 merged 1 commit into
mainfrom
agent/devops-engineer/agg-132-extra-init-containers

Conversation

@anthrax63

Copy link
Copy Markdown
Member

Summary

  • Adds extraInitContainers, extraVolumes, extraVolumeMounts values (all default []) so operators can inject arbitrary init containers / volumes without patching the chart.
  • Needed by AGG-132: LightGBM models (~1.3 MiB each) exceed both ConfigMap and Secret 1 MiB limits, and cluster's nfs-client provisioner is offline (broken NFS server 102d) → the only viable delivery is emptyDir populated by an init container pulling from MinIO. Chart's existing models.volume already accepts any volume source.
  • Chart 0.3.0 → 0.4.0, appVersion 0.1.2 → 0.4.1 (catches up to the actual image).

Test plan

  • helm lint chart
  • helm template ... --set extraInitContainers[0]... renders initContainers: under pod spec.
  • Rendering with realistic MinIO-fetch initContainer + models.volume.emptyDir produces valid pod spec.
  • After merge → GHA docker-image.yml builds ghcr.io/aggregion/kz-scoring-api:0.4.1 (unchanged app), then kartel-deploy Argo overlay switches to it with the initContainer values.

Chart-values expand a pod spec with arbitrary initContainers, volumes and
mounts. Needed to fetch >1MiB LightGBM models from MinIO into
`models.volume: emptyDir` on pod start (AGG-132) — ConfigMap/Secret
can't carry 1.3MiB payloads and the cluster's nfs-provisioner is offline
so RWX PVCs are unavailable.

extraInitContainers and extraVolumes are template-evaluated (tpl) so
they can reference .Values / .Release from user overrides. Bumped chart
version 0.3.0 → 0.4.0 (values additive, deployment output unchanged when
new keys are empty) and appVersion to match the current 0.4.1 image.

Co-authored-by: multica-agent <github@multica.ai>
@anthrax63
anthrax63 merged commit e9376a6 into main Aug 4, 2026
3 checks passed
@anthrax63 anthrax63 mentioned this pull request Aug 4, 2026
3 tasks
anthrax63 added a commit that referenced this pull request Aug 4, 2026
The 0.4.1 tag was reused twice (PR #13 boosters, PR #14 chart extras)
after v0.4.1 shipped, making Argo unable to detect a rollable image.
Bump the tag chain (pyproject, __init__, Chart appVersion) to 0.5.0 so
GHA publishes a fresh `v0.5.0` image and the kartel-deploy overlay can
pin to it.

Co-authored-by: DevOps (Aivo agent) <devops@aivoagent.bot>
Co-authored-by: multica-agent <github@multica.ai>
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