Sha256: 3960b9fc115f10807f8df5cd1ccd44be957d2628e78104b5de1c9daf64594936
Contents?: true
Size: 474 Bytes
Versions: 21
Compression:
Stored size: 474 Bytes
Contents
module Kubes module Core extend Memoist def env ENV['KUBES_ENV'] || "dev" end def root ENV['KUBES_ROOT'] || Dir.pwd end def configure(&block) Config.instance.configure(&block) end def config Config.instance.load_configs Config.instance.config end memoize :config def logger config.logger end memoize :logger def kustomize? Kubectl::Kustomize.detect? end end end
Version data entries
21 entries across 21 versions & 1 rubygems