fix: use --dry-run=server by default for Helm v4 to fix .Capabilities.APIVersions by yxxhero · Pull Request #928 · databus23/helm-diff
added 2 commits
February 11, 2026 14:37….APIVersions For Helm v4, --dry-run=server should be used by default to get the correct .Capabilities.APIVersions.Has behavior. This is only applied when the user hasn't explicitly set --dry-run=client. Fixes #894 Signed-off-by: yxxhero <aiopsclub@163.com>
Add unit tests for PR #928 to verify the dry-run flag behavior for Helm v4, which uses --dry-run=server by default to get correct .Capabilities.APIVersions. Signed-off-by: yxxhero <aiopsclub@163.com>
- Fix conditions to properly handle dryRunMode="true" (behaves like client) - Fix conditions to properly handle dryRunMode="false" (behaves like none) - Add test cases for boolean dry-run modes - Remove leftover HELM_DEBUG from CI workflow Signed-off-by: yxxhero <aiopsclub@163.com>
yxxhero
deleted the
fix/issue-894-helm-v4-dry-run-server
branch
SachinMaharana pushed a commit to SachinMaharana/helmsman that referenced this pull request
Mar 12, 2026v3.15.2 defaults to --dry-run=server for Helm v4, fixing .Capabilities.APIVersions.Has evaluation. databus23/helm-diff#928
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters