debian-mirror-gitlab/lib/gitlab/kubernetes/helm.rb

22 lines
580 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
2018-03-17 18:26:18 +05:30
module Gitlab
module Kubernetes
module Helm
2020-05-24 23:13:21 +05:30
HELM_VERSION = '2.16.6'
2019-12-26 22:10:19 +05:30
KUBECTL_VERSION = '1.13.12'
2019-12-04 20:38:33 +05:30
NAMESPACE = 'gitlab-managed-apps'
2020-03-13 15:44:24 +05:30
NAMESPACE_LABELS = { 'app.gitlab.com/managed_by' => :gitlab }.freeze
2019-12-04 20:38:33 +05:30
SERVICE_ACCOUNT = 'tiller'
CLUSTER_ROLE_BINDING = 'tiller-admin'
CLUSTER_ROLE = 'cluster-admin'
2020-04-08 14:13:33 +05:30
MANAGED_APPS_LOCAL_TILLER_FEATURE_FLAG = :managed_apps_local_tiller
def self.local_tiller_enabled?
Feature.enabled?(MANAGED_APPS_LOCAL_TILLER_FEATURE_FLAG)
end
2018-03-17 18:26:18 +05:30
end
end
end