Skip to content

Fix invalid volumeMounts rendering in sidekiq and web - #66

Open
mydoomfr wants to merge 1 commit into
mastodon:mainfrom
mydoomfr:fix-volume-mounts
Open

Fix invalid volumeMounts rendering in sidekiq and web#66
mydoomfr wants to merge 1 commit into
mastodon:mainfrom
mydoomfr:fix-volume-mounts

Conversation

@mydoomfr

@mydoomfr mydoomfr commented Jul 28, 2026

Copy link
Copy Markdown

Fixes: #65

Problem

Setting volumeMounts / volumes in values breaks the web and sidekiq Deployments. The mastodon.volumeMounts and mastodon.volumes helpers emit their own key and indentation , but the deployment templates already print the key... so we end up with a duplicate nested volumeMounts: and the install fails with expected list, got map.

This is the same bug as #23 (fixed for streaming in #24) but reintroduced for web/sidekiq by the helper refactor in #46

Fix

The helpers now only emit list items (same pattern as the mastodon.pvc.* helpers), so the key is written in exactly one place

And as a side effect, this also restores the elasticsearch CA secret mount when elasticsearch.caSecret.name is set without user volumeMounts

Signed-off-by: Benjamin Pinchon <dev@mdfr.me>
@mydoomfr
mydoomfr force-pushed the fix-volume-mounts branch from 27f58db to 76f304e Compare July 28, 2026 21:34
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.

volumeMounts renders invalid web and sidekiq Deployments

1 participant