cluster/lib/cluster/runner.rb in sct-0.1.19 vs cluster/lib/cluster/runner.rb in sct-0.1.20

- old
+ new

@@ -85,10 +85,10 @@ UI.success("#{kube_file_path} copied to ~/.kube/minikube-config") end run_command "kubectl config use-context minikube" - run_command "kubectl replace -n kube-system -f #{File.expand_path('../../resources/corefile.yml', __dir__)}" + run_command "kubectl replace -n kube-system -f #{File.expand_path('resources/corefile.yml', __dir__)}" old_list = pods("kube-system").map { |pod| pod[:name] if pod[:name].start_with? "coredns" }.compact run_command "kubectl delete pod -n kube-system #{old_list.join(" ")}" unless old_list.to_a.empty? run_command "kubectl rollout status -n kube-system deployment/coredns" end \ No newline at end of file