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
end
end
def uninstall_command
helm_command_module::DeleteCommand.new(
name: name,
rbac: cluster.platform_kubernetes_rbac?,
files: files
)
end
def prepare_uninstall
# Override if your application needs any action before
# being uninstalled by Helm
......
......@@ -3,14 +3,6 @@
module Clusters
module Concerns
module ApplicationData
def uninstall_command
helm_command_module::DeleteCommand.new(
name: name,
rbac: cluster.platform_kubernetes_rbac?,
files: files
)
end
def repository
nil
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