Module: KubectlRb

Defined in:
lib/kubectl-rb.rb,
lib/kubectl-rb/version.rb

Constant Summary collapse

VERSION =
'0.2.1'
KUBECTL_VERSION =
'1.21.2'

Class Method Summary collapse

Class Method Details

.executableObject



2
3
4
5
6
7
# File 'lib/kubectl-rb.rb', line 2

def self.executable
  @executable ||= begin
    pattern = File.expand_path(File.join('..', 'vendor', 'kubectl*'), __dir__)
    Dir.glob(pattern).first
  end
end