helmfile/docs
yxxhero a94fdf4194
feat: add support for helm 4 --server-side upgrade flag (#2641)
* feat: add support for helm 4 --server-side upgrade flag

Add support for the helm 4 upgrade flag --server-side which accepts
"true", "false", or "auto" (default "auto"). This allows users to
explicitly control server-side apply behavior, which is needed for
releases originally installed with Helm 3 and being managed with Helm 4.

The flag can be configured via:
- CLI: --server-side flag on sync, apply, and diff commands
- helmDefaults.serverSide in helmfile.yaml
- releases[].serverSide per-release override

Precedence: release-level > CLI flag > helmDefaults.
Errors are returned when serverSide is set but running Helm 3, or when
an invalid value is provided.

Closes #2640

Signed-off-by: yxxhero <aiopsclub@163.com>

* test: update TestGenerateID expected hashes for new ServerSide field

Adding ServerSide *string to ReleaseSpec changes spew's %#v output and
shifts the FNV hash used by generateValuesID. Update the hard-coded want
values to the new deterministic hashes.

Signed-off-by: yxxhero <aiopsclub@163.com>

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
2026-06-16 08:24:47 +08:00
..
proposals feat(docs): add proposal to remove charts and delete subcommands (#1936) 2025-02-24 08:11:15 -05:00
advanced-features.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
builtin-objects.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
cli.md feat: support HELMFILE_* env vars for more global flags (#2606) 2026-05-22 09:16:52 +08:00
configuration.md feat: add support for helm 4 --server-side upgrade flag (#2641) 2026-06-16 08:24:47 +08:00
contributing.md Documentation site based on mkdocs and Read the Docs 2022-04-03 05:04:54 +00:00
environments.md feat(state): add mergeStrategy: fallback for first-file-wins env values (#2578) 2026-05-07 21:50:05 +08:00
experimental-features.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
hcl_funcs.md feat: Add IP Network to supported HCL Functions (#2426) 2026-02-26 17:20:48 +08:00
hooks.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
index.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
integrations.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
license.md Documentation site based on mkdocs and Read the Docs 2022-04-03 05:04:54 +00:00
paths.md update examples info (#658) 2023-01-26 07:34:43 +09:00
releases.md docs: restructure documentation and improve newcomer experience (#2573) 2026-05-03 19:33:33 +08:00
remote-secrets.md update example chart URL in remote-secrets doc (#1809) 2024-11-28 13:19:08 +08:00
requirements.txt build(deps): bump gitpython from 3.1.49 to 3.1.50 in /docs (#2585) 2026-05-09 20:46:32 +08:00
shared-configuration-across-teams.md chore: documentation updates: grammar & rm whitespace (#1639) 2024-07-21 13:31:41 +08:00
templating.md feat: support HELMFILE_* env vars for more global flags (#2606) 2026-05-22 09:16:52 +08:00
templating_funcs.md feat: add isDir template function (#1657) 2024-08-06 21:39:00 +08:00
users.md Documentation site based on mkdocs and Read the Docs 2022-04-03 05:04:54 +00:00
values-and-merging.md feat(state): add mergeStrategy: fallback for first-file-wins env values (#2578) 2026-05-07 21:50:05 +08:00
writing-helmfile.md feat: add defaultInherit for automatic release template inheritance (#2600) 2026-05-20 18:21:03 +08:00