Commit 3c62476f authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason

Move uninstall_command to Clusters::Concerns::ApplicationCore

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/276162
parent 54e5a8d4
...@@ -62,6 +62,14 @@ module Clusters ...@@ -62,6 +62,14 @@ module Clusters
end end
end end
def uninstall_command
helm_command_module::DeleteCommand.new(
name: name,
rbac: cluster.platform_kubernetes_rbac?,
files: files
)
end
def prepare_uninstall def prepare_uninstall
# Override if your application needs any action before # Override if your application needs any action before
# being uninstalled by Helm # being uninstalled by Helm
......
...@@ -3,14 +3,6 @@ ...@@ -3,14 +3,6 @@
module Clusters module Clusters
module Concerns module Concerns
module ApplicationData module ApplicationData
def uninstall_command
helm_command_module::DeleteCommand.new(
name: name,
rbac: cluster.platform_kubernetes_rbac?,
files: files
)
end
def repository def repository
nil nil
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment