Exception: KubernetesDeploy::KubeclientBuilder::ContextMissingError
- Inherits:
-
FatalDeploymentError
- Object
- StandardError
- FatalDeploymentError
- KubernetesDeploy::KubeclientBuilder::ContextMissingError
- Defined in:
- lib/kubernetes-deploy/kubeclient_builder.rb
Instance Method Summary collapse
-
#initialize(context_name) ⇒ ContextMissingError
constructor
A new instance of ContextMissingError.
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 (#{ENV['KUBECONFIG']}). " \ "Please see the README.") end |