You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c32c9a510b
If two `helm upgrade`s are executed at the exact same time, then one of the invocations will fail with "already exists". If one `helm upgrade` is executed and a second one is started while the first is in `pending-upgrade`, then the second invocation will create a new release. Effectively, two helm invocations will simultaneously change the state of Kubernetes resources -- which is scary -- then two releases will be in `deployed` state -- which can cause other issues. This commit fixes the corrupted storage problem, by introducting a poor person's lock. If the last release is in a pending state, then helm will abort. If the last release is in a pending state, due to a previously killed helm, then the user is expected to do `helm rollback`. This is a port to Helm v2 of #7322. Signed-off-by: Cristian Klein <cristian.klein@elastisys.com> |
4 years ago | |
---|---|---|
.. | ||
environment | 5 years ago | |
hook_sorter.go | 6 years ago | |
hook_sorter_test.go | 6 years ago | |
hooks.go | 5 years ago | |
hooks_test.go | 5 years ago | |
kind_sorter.go | 5 years ago | |
kind_sorter_test.go | 5 years ago | |
release_content.go | 6 years ago | |
release_content_test.go | 6 years ago | |
release_history.go | 6 years ago | |
release_history_test.go | 6 years ago | |
release_install.go | 6 years ago | |
release_install_test.go | 5 years ago | |
release_list.go | 5 years ago | |
release_list_test.go | 6 years ago | |
release_modules.go | 5 years ago | |
release_rollback.go | 6 years ago | |
release_rollback_test.go | 6 years ago | |
release_server.go | 4 years ago | |
release_server_test.go | 5 years ago | |
release_status.go | 6 years ago | |
release_status_test.go | 6 years ago | |
release_testing.go | 5 years ago | |
release_testing_test.go | 6 years ago | |
release_uninstall.go | 6 years ago | |
release_uninstall_test.go | 5 years ago | |
release_update.go | 4 years ago | |
release_update_test.go | 4 years ago | |
release_version.go | 6 years ago | |
resource_policy.go | 5 years ago | |
server.go | 6 years ago |