Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-24 06:09:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-24 06:09:28 +0300
commitbe2f4c5788975597dd7be1c8a3525549770c1216 (patch)
tree083ed0d7e29e26d479c00e00d9cb89d74ebbb0ef /lib/gitlab/kubernetes
parent2711c26beaca6c3a5a3be4b65e01557faf0185b6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/kubernetes')
-rw-r--r--lib/gitlab/kubernetes/helm/install_command.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gitlab/kubernetes/helm/install_command.rb b/lib/gitlab/kubernetes/helm/install_command.rb
index 8e24cb4c24f..3784aecccb5 100644
--- a/lib/gitlab/kubernetes/helm/install_command.rb
+++ b/lib/gitlab/kubernetes/helm/install_command.rb
@@ -44,6 +44,7 @@ module Gitlab
def install_command
command = ['helm', 'upgrade', name, chart] +
install_flag +
+ rollback_support_flag +
reset_values_flag +
tls_flags_if_remote_tiller +
optional_version_flag +
@@ -83,6 +84,10 @@ module Gitlab
['--version', version]
end
+
+ def rollback_support_flag
+ ['--atomic', '--cleanup-on-fail']
+ end
end
end
end