summaryrefslogtreecommitdiff
path: root/app/models/clusters/applications/helm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/clusters/applications/helm.rb')
-rw-r--r--app/models/clusters/applications/helm.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/clusters/applications/helm.rb b/app/models/clusters/applications/helm.rb
index 71aff00077d..a83d06c4b00 100644
--- a/app/models/clusters/applications/helm.rb
+++ b/app/models/clusters/applications/helm.rb
@@ -29,6 +29,13 @@ module Clusters
self.status = 'installable' if cluster&.platform_kubernetes_active?
end
+ # We will implement this in future MRs.
+ # Basically we need to check all other applications are not installed
+ # first.
+ def allowed_to_uninstall?
+ false
+ end
+
def install_command
Gitlab::Kubernetes::Helm::InitCommand.new(
name: name,