Commit ec0aa49c authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'move-uninstall-command-to-application-core' into 'master'

Move uninstall_command to Clusters::Concerns::ApplicationCore

See merge request gitlab-org/gitlab!48828
parents c0de666c 3c62476f
...@@ -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