Skip to content

fix(actions): fix extraVolumes template rendering in actions subchart#676

Merged
pedro93 merged 2 commits intoacryldata:masterfrom
pedro93:fix/actions-extra-volumes
Mar 17, 2026
Merged

fix(actions): fix extraVolumes template rendering in actions subchart#676
pedro93 merged 2 commits intoacryldata:masterfrom
pedro93:fix/actions-extra-volumes

Conversation

@pedro93
Copy link
Contributor

@pedro93 pedro93 commented Mar 16, 2026

Summary

  • Standardize the extraVolumes template block in acryl-datahub-actions to use {{- with }} instead of {{- if }}, matching the pattern used in datahub-gms and datahub-frontend subcharts
  • Add {{- trim marker to prevent spurious whitespace in rendered output
  • Add example comments to values.yaml for discoverability (matching gms/frontend)

Motivation

When using extraVolumes to mount a tmpfs for ingestion venvs (/tmp/datahub), the old {{- if }} pattern with missing trim marker produced extra whitespace. The {{- with }} pattern is already used consistently in the other subcharts.

Test plan

  • helm template renders correctly with extraVolumes set (emptyDir tmpfs)
  • helm template renders correctly with default empty extraVolumes
  • Verified volumeMounts also render at correct indentation

🤖 Generated with Claude Code

pedro93 and others added 2 commits March 16, 2026 23:07
Standardize the extraVolumes template block to use `{{- with }}` instead
of `{{- if }}` and add `{{-` trim marker, matching the pattern used in
datahub-gms and datahub-frontend subcharts. Also add example comments
to values.yaml for discoverability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- acryl-datahub-actions subchart: 0.3.2 -> 0.3.3
- datahub parent chart: 0.8.21 -> 0.8.22
- Update actions dependency version in parent Chart.yaml

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pedro93 pedro93 merged commit 7388692 into acryldata:master Mar 17, 2026
1 check passed
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