helm/pkg/cmd
Evans Mungai 1b6053d48b
Some checks failed
build-test / build (push) Has been cancelled
golangci-lint / golangci-lint (push) Has been cancelled
fix(upgrade): pass --server-side flag to install when using upgrade --install
When running `helm upgrade --install` on a non-existent release, the
--server-side flag was not being passed to the install action. This
caused the install to always use server-side apply (the default),
ignoring --server-side=false.

Copy ServerSideApply and ForceConflicts from the upgrade client to the
install client when falling back to install.

Fixes #31627

Signed-off-by: Evans Mungai <mbuevans@gmail.com>
(cherry picked from commit 2dc581dc1c)
2026-01-14 17:43:46 -05:00
..
require chore: enable thelper 2025-05-16 10:25:08 +02:00
search Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
testdata Fix TestCliPluginExitCode 2026-01-14 16:58:00 -05:00
completion.go squash 2025-02-24 15:11:54 +00:00
completion_test.go Moved release objects to enable versioning 2025-10-10 11:49:08 -04:00
create.go gofmt 2025-02-26 13:21:00 +00:00
create_test.go Remove unnecessary calls for changing directory to helmpath.CachePath. 2025-07-02 09:30:59 -07:00
dependency.go squash 2025-02-24 15:11:54 +00:00
dependency_build.go Updating to tested content cache 2025-08-21 14:33:51 -04:00
dependency_build_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
dependency_test.go squash 2025-02-24 15:11:54 +00:00
dependency_update.go Updating to tested content cache 2025-08-21 14:33:51 -04:00
dependency_update_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
docs.go Merge branch 'main' into stdlib-errors-2 2025-04-21 12:13:10 -04:00
docs_test.go squash 2025-02-24 15:11:54 +00:00
env.go squash 2025-02-24 15:11:54 +00:00
env_test.go squash 2025-02-24 15:11:54 +00:00
flags.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
flags_test.go Moved release objects to enable versioning 2025-10-10 11:49:08 -04:00
get.go squash 2025-02-24 15:11:54 +00:00
get_all.go refactor: replace NoColor with ColorMode for improved color output control 2025-07-11 20:52:40 +01:00
get_all_test.go merge 2025-02-27 13:55:49 +00:00
get_hooks.go Move all the get commands to the new release interface 2025-10-10 11:49:08 -04:00
get_hooks_test.go merge 2025-02-27 13:55:49 +00:00
get_manifest.go Move all the get commands to the new release interface 2025-10-10 11:49:08 -04:00
get_manifest_test.go merge 2025-02-27 13:55:49 +00:00
get_metadata.go Helm client/SDK support server-side apply 2025-08-18 10:05:07 -07:00
get_metadata_test.go Add release labels to the release Metadata 2025-07-09 11:30:22 +04:00
get_notes.go Move all the get commands to the new release interface 2025-10-10 11:49:08 -04:00
get_notes_test.go merge 2025-02-27 13:55:49 +00:00
get_test.go squash 2025-02-24 15:11:54 +00:00
get_values.go squash 2025-02-24 15:11:54 +00:00
get_values_test.go merge 2025-02-27 13:55:49 +00:00
helpers.go refactor: Replace action 'DryRun' string with DryRunStrategy type + deprecations 2025-09-21 08:03:02 -07:00
helpers_test.go refactor: Replace action 'DryRun' string with DryRunStrategy type + deprecations 2025-09-21 08:03:02 -07:00
history.go fix: empty time values 2025-10-10 16:44:19 -06:00
history_test.go fix: empty time values 2025-10-10 16:44:19 -06:00
install.go Use length check for MetaDependencies instead of nil comparison 2026-01-14 17:33:30 -05:00
install_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
lint.go Remove implicit support for helm lint current directory 2025-09-15 14:15:01 -06:00
lint_test.go Remove implicit support for helm lint current directory 2025-09-15 14:15:01 -06:00
list.go Update pkg/cmd/list.go 2025-10-13 10:28:44 -06:00
list_test.go fix: increase helm list test coverage 2025-10-13 16:16:50 -06:00
load_plugins.go Check plugin name is not used 2026-01-14 16:57:48 -05:00
package.go Updating to tested content cache 2025-08-21 14:33:51 -04:00
package_test.go Call ensure.HelmHome() in package_test.go 2025-07-02 16:20:45 -07:00
plugin.go Remove SetupPluginEnv 2025-09-01 10:49:01 -07:00
plugin_install.go [HIP-0026] Plugin packaging, signing, and verification (#31176) 2025-08-30 13:25:28 -04:00
plugin_list.go Cleanup plugin config 2025-09-02 09:53:22 -07:00
plugin_package.go Remove unnecessary file i/o operations from signing and verifying 2025-08-30 17:28:16 -05:00
plugin_package_test.go Remove legacy Command/Hooks from v1 Subprocess (#23) 2025-08-31 22:24:31 -07:00
plugin_test.go Fix TestCliPluginExitCode 2026-01-14 16:58:00 -05:00
plugin_uninstall.go Plugin OCI installer 2025-08-25 23:04:01 -04:00
plugin_uninstall_test.go Plugin OCI installer 2025-08-25 23:04:01 -04:00
plugin_update.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
plugin_verify.go Remove unnecessary file i/o operations from signing and verifying 2025-08-30 17:28:16 -05:00
plugin_verify_test.go [HIP-0026] Plugin packaging, signing, and verification (#31176) 2025-08-30 13:25:28 -04:00
printer.go squash 2025-02-24 15:11:54 +00:00
profiling.go squash 2025-02-24 15:11:54 +00:00
pull.go Call slog directly instead of using a wrapper 2025-04-10 15:35:36 +02:00
pull_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
push.go squash 2025-02-24 15:11:54 +00:00
push_test.go squash 2025-02-24 15:11:54 +00:00
registry.go squash 2025-02-24 15:11:54 +00:00
registry_login.go Merge pull request #30904 from benoittgt/document-ideal-registry-login-command 2025-05-23 08:06:12 -04:00
registry_login_test.go squash 2025-02-24 15:11:54 +00:00
registry_logout.go squash 2025-02-24 15:11:54 +00:00
registry_logout_test.go squash 2025-02-24 15:11:54 +00:00
release_testing.go Fix linting issue 2026-01-14 17:01:45 -05:00
release_testing_test.go Moved release objects to enable versioning 2025-10-10 11:49:08 -04:00
repo.go Merge branch 'main' into stdlib-errors-2 2025-04-21 12:13:10 -04:00
repo_add.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_add_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_index.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_index_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_list.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_list_test.go Adding test for list command 2025-05-15 15:23:13 -04:00
repo_remove.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_remove_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_test.go squash 2025-02-24 15:11:54 +00:00
repo_update.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
repo_update_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
rollback.go refactor: Replace action 'DryRun' string with DryRunStrategy type + deprecations 2025-09-21 08:03:02 -07:00
rollback_test.go Moved release objects to enable versioning 2025-10-10 11:49:08 -04:00
root.go Fix kube client logging 2025-11-24 08:55:27 -05:00
root_test.go Fix kube client logging 2025-11-24 08:55:27 -05:00
search.go squash 2025-02-24 15:11:54 +00:00
search_hub.go Merge branch 'main' into stdlib-errors-2 2025-04-21 12:13:10 -04:00
search_hub_test.go squash 2025-02-24 15:11:54 +00:00
search_repo.go chore: fix some comment format 2025-10-15 11:19:41 +08:00
search_repo_test.go squash 2025-02-24 15:11:54 +00:00
search_test.go squash 2025-02-24 15:11:54 +00:00
show.go could remove embedded field X from selector 2025-04-14 10:43:48 +02:00
show_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00
status.go Removing debug statement 2025-10-10 11:52:36 -04:00
status_test.go Moved release objects to enable versioning 2025-10-10 11:49:08 -04:00
template.go Merge pull request #30833 from gjenkins8/gjenkins/refactor_dry_run_flag 2025-10-09 13:29:29 -07:00
template_test.go added documentation and test cases for api-versions flag 2025-06-09 06:15:39 +00:00
uninstall.go update to get waiter instead of set 2025-03-25 13:55:39 +00:00
uninstall_test.go fix(uninstall): supersede deployed releases 2026-01-14 16:51:38 -05:00
upgrade.go fix(upgrade): pass --server-side flag to install when using upgrade --install 2026-01-14 17:43:46 -05:00
upgrade_test.go fix(upgrade): pass --server-side flag to install when using upgrade --install 2026-01-14 17:43:46 -05:00
verify.go fix: helm verify run signature 2025-09-17 11:14:34 -06:00
verify_test.go squash 2025-02-24 15:11:54 +00:00
version.go chore: remove helm version client option 2025-09-16 20:00:24 -06:00
version_test.go chore: remove helm version client option 2025-09-16 20:00:24 -06:00