summaryrefslogtreecommitdiff
path: root/app/models/clusters/applications/cilium.rb
blob: 7936b0b18de3d14bbc53792f98bacf8559ac6624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Clusters
  module Applications
    class Cilium < ApplicationRecord
      self.table_name = 'clusters_applications_cilium'

      include ::Clusters::Concerns::ApplicationCore
      include ::Clusters::Concerns::ApplicationStatus

      # Cilium can only be installed and uninstalled through the
      # cluster-applications project by triggering CI pipeline for a
      # management project. UI operations are not available for such
      # applications. More information:
      # https://docs.gitlab.com/ee/user/clusters/management_project.html
      def allowed_to_uninstall?
        false
      end
    end
  end
end