lib/kubernetes-deploy/errors.rb in kubernetes-deploy-0.17.0 vs lib/kubernetes-deploy/errors.rb in kubernetes-deploy-0.18.0
- old
+ new
@@ -6,9 +6,12 @@
class NamespaceNotFoundError < FatalDeploymentError
def initialize(name, context)
super("Namespace `#{name}` not found in context `#{context}`")
end
end
+
+ class DeploymentTimeoutError < FatalDeploymentError; end
+
module Errors
extend self
def server_version_warning(server_version)
"Minimum cluster version requirement of #{MIN_KUBE_VERSION} not met. "\
"Using #{server_version} could result in unexpected behavior as it is no longer tested against"