Exception: KubernetesDeploy::KubeclientBuilder::ContextMissingError

Inherits:
FatalDeploymentError
  • Object
show all
Defined in:
lib/kubernetes-deploy/kubeclient_builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(context_name) ⇒ ContextMissingError

Returns a new instance of ContextMissingError.



8
9
10
11
# File 'lib/kubernetes-deploy/kubeclient_builder.rb', line 8

def initialize(context_name)
  super("`#{context_name}` context must be configured in your " \
    "KUBECONFIG file(s) (#{ENV['KUBECONFIG']}).")
end