lib/vidar/run.rb in vidar-1.13.0 vs lib/vidar/run.rb in vidar-1.13.1

- old
+ new

@@ -12,9 +12,13 @@ def kubectl(command, namespace: Config.get!(:namespace)) system("#{kubectl_envs_string}kubectl --namespace=#{namespace} #{command}") || exit(1) end + def kubectl_capture3(command, namespace: Config.get!(:namespace)) + Open3.capture3("#{kubectl_envs_string}kubectl #{command} --namespace=#{namespace}") || exit(1) + end + def kubectl_envs_string https_proxy = Config.deploy_config.https_proxy "HTTPS_PROXY=#{https_proxy} " if https_proxy end end