module Kubert

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/kubert.rb, line 14
def self.client
  @client ||= begin
    Kubeclient::Client.new(
      kube_config.context.api_endpoint,
        kube_config.context.api_version,
        {
          ssl_options: kube_config.context.ssl_options,
          auth_options: kube_config.context.auth_options
        }
    )
  end
end