gitlab-org--gitlab-foss/app/models/clusters/applications/helm.rb

20 lines
419 B
Ruby
Raw Normal View History

module Clusters
2017-11-02 10:10:46 -04:00
module Applications
class Helm < ActiveRecord::Base
self.table_name = 'clusters_applications_helm'
NAME = 'helm'.freeze
include ::Clusters::Concerns::AppStatus
2017-11-02 10:31:25 -04:00
belongs_to :cluster, class_name: 'Clusters::Cluster', foreign_key: :cluster_id
2017-11-02 11:57:18 -04:00
default_value_for :version, Gitlab::Kubernetes::Helm::HELM_VERSION
def name
NAME
end
end
end
end