exe/kubernetes-run in kubernetes-deploy-0.26.7 vs exe/kubernetes-run in kubernetes-deploy-0.27.0
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
-require 'kubernetes-deploy'
require 'kubernetes-deploy/runner_task'
+require 'kubernetes-deploy/options_helper'
require 'optparse'
template = "task-runner-template"
entrypoint = nil
env_vars = []
@@ -23,15 +23,13 @@
opts.parse!
end
namespace = ARGV[0]
context = ARGV[1]
-logger = KubernetesDeploy::FormattedLogger.build(namespace, context)
runner = KubernetesDeploy::RunnerTask.new(
namespace: namespace,
context: context,
- logger: logger,
max_watch_seconds: max_watch_seconds
)
success = runner.run(
verify_result: verify_result,