Skip to content

Remove identity initContainer from default values (1.0.1)#1

Open
bjarneo wants to merge 1 commit into
mainfrom
fix/onechart-default-initcontainers
Open

Remove identity initContainer from default values (1.0.1)#1
bjarneo wants to merge 1 commit into
mainfrom
fix/onechart-default-initcontainers

Conversation

@bjarneo

@bjarneo bjarneo commented Jun 16, 2026

Copy link
Copy Markdown
Member

What

  • Default initContainers to [] in values.yaml. It previously shipped an identity-specific db-migration initContainer (image: identity, command: npm run migration:run, secret: identity), so every consumer that didn't override initContainers got an identity init container injected into its Deployment (this is how it leaked into mentos-api).
  • Bump the chart to 1.0.1 and publish a clean package.
  • Add a .helmignore. The previous packages bundled .git/, index.yaml, robots.txt and the published .tgz into the chart archive; with the ignore file the 1.0.1 package contains only the chart files.

Why

The default values had the identity service's migration init container baked in, making the chart non-generic. identity declares its own init container in its values, so nothing depends on this default.

Notes

  • 1.0.0 is left untouched in the index for existing consumers.
  • After merge, GitHub Pages serves 1.0.1; consumers can move to it to drop any initContainers: [] override.

The default values.yaml shipped an identity-specific db-migration initContainer
(image: identity, command: npm run migration:run, secret: identity), so any app
using this chart without overriding initContainers inherited an identity init
container. Default it to [] so the chart stays generic; apps that need an init
container declare their own.

Also add a .helmignore: the package was sweeping .git/, index.yaml, robots.txt
and the published .tgz into the chart archive, so the new 1.0.1 package only
contains the chart files. Bumped to 1.0.1; 1.0.0 is left in the index.
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