Skip to content

feat(chart): support extraContainers, volumes, and volumeMounts#23

Merged
bakayolo merged 1 commit intomainfrom
feat/chart-extra-containers
Apr 17, 2026
Merged

feat(chart): support extraContainers, volumes, and volumeMounts#23
bakayolo merged 1 commit intomainfrom
feat/chart-extra-containers

Conversation

@bakayolo
Copy link
Copy Markdown
Collaborator

Adds extraContainers, volumes, and volumeMounts support to the Helm deployment template.

Used by the EOL override sidecar — an nginx container serving patched endoflife.date JSON files for products with pending upstream PRs (aurora-mysql, opensearch 3.3/3.5).

Changes

charts/version-guard/templates/deployment.yaml — adds optional extraContainers, volumes, and volumeMounts blocks from values.

Usage

extraContainers:
  - name: eol-override
    image: nginx:alpine
    ports:
      - containerPort: 8082
    volumeMounts:
      - name: eol-config
        mountPath: /etc/nginx/conf.d/default.conf
        subPath: nginx.conf
volumes:
  - name: eol-config
    configMap:
      name: eol-override

@bakayolo bakayolo force-pushed the feat/chart-extra-containers branch 2 times, most recently from 5e9d7ca to 98ad4da Compare April 17, 2026 22:36
Allow injecting sidecar containers and volumes via Helm values.
Used by the EOL override sidecar (nginx serving patched endoflife.date
JSON files for products with pending upstream PRs).

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d98f0-cc82-75bf-b664-e3a63eef6ee9
@bakayolo bakayolo force-pushed the feat/chart-extra-containers branch from 98ad4da to a6118e5 Compare April 17, 2026 23:18
Copy link
Copy Markdown

@nandiheath nandiheath left a comment

Choose a reason for hiding this comment

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

Looks good! 🤖 Automated review passed — no blockers found.

@bakayolo bakayolo merged commit c11c265 into main Apr 17, 2026
7 checks passed
@bakayolo bakayolo deleted the feat/chart-extra-containers branch April 17, 2026 23:44
bakayolo added a commit that referenced this pull request Apr 18, 2026
…ns (#25)

## Problem

1. Helm chart was published on every tagged release, even when only app
code changed
2. Chart.yaml version could collide with an existing git tag (e.g.,
v0.3.0 was already tagged when PR #23 set chart version to 0.3.0)

## Fix

- **Skip publish**: diff `charts/` against the previous tag — only
publish if chart files changed
- **PR guard**: fail CI if `Chart.yaml` version matches an existing git
tag, catching collisions before merge

Co-authored-by: Amp <amp@ampcode.com>
bakayolo added a commit that referenced this pull request Apr 18, 2026
Bump chart version to 0.4.0 to include extraContainers/volumes support
(PR #23). Tag v0.3.0 was already taken by a prior release.

Co-authored-by: Amp <amp@ampcode.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