diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-04-12 08:42:48 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-30 08:55:11 +0300 |
commit | 44eec56834b7f524a2bf99d0f5e1571b52576d72 (patch) | |
tree | cb7b15114b011992fbfb6c428b712d5c679c9fee /app/models/clusters/applications/jupyter.rb | |
parent | 3c8df0c944f0b23f9ee8b6b08a0a355b00456dd9 (diff) |
Expose can_uninstall in cluster_status.json
Only prometheus can be uninstalled atm, the rest will be dealt with
later.
Presumption is that new application types will have uninstallation
implmemented at the same time.
Diffstat (limited to 'app/models/clusters/applications/jupyter.rb')
-rw-r--r-- | app/models/clusters/applications/jupyter.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/clusters/applications/jupyter.rb b/app/models/clusters/applications/jupyter.rb index f86ff3551a1..987c057ad6d 100644 --- a/app/models/clusters/applications/jupyter.rb +++ b/app/models/clusters/applications/jupyter.rb @@ -38,6 +38,12 @@ module Clusters content_values.to_yaml end + # Will be addressed in future MRs + # We need to investigate and document what will be permenantly deleted. + def allowed_to_uninstall? + false + end + def install_command Gitlab::Kubernetes::Helm::InstallCommand.new( name: name, |