8a1ac8f4ce
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
28 lines
697 B
Ruby
28 lines
697 B
Ruby
module Clusters
|
|
module Applications
|
|
class Jupyter < ActiveRecord::Base
|
|
VERSION = '0.0.1'.freeze
|
|
|
|
self.table_name = 'clusters_applications_jupyters'
|
|
|
|
include ::Clusters::Concerns::ApplicationCore
|
|
include ::Clusters::Concerns::ApplicationStatus
|
|
include ::Clusters::Concerns::ApplicationData
|
|
|
|
default_value_for :version, VERSION
|
|
|
|
def chart
|
|
# TODO: publish jupyterhub charts that we can use for our installation
|
|
# and provide path to it here.
|
|
end
|
|
|
|
def install_command
|
|
Gitlab::Kubernetes::Helm::InstallCommand.new(
|
|
name,
|
|
chart: chart,
|
|
values: values
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|