aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/k8s/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'test/security/k8s/vagrant')
-rw-r--r--test/security/k8s/vagrant/dublin/Vagrantfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/security/k8s/vagrant/dublin/Vagrantfile b/test/security/k8s/vagrant/dublin/Vagrantfile
index 148903773..ce442eb98 100644
--- a/test/security/k8s/vagrant/dublin/Vagrantfile
+++ b/test/security/k8s/vagrant/dublin/Vagrantfile
@@ -21,7 +21,7 @@ cluster = [
all = cluster.dup << operation
-operation_post_msg = "Run: \"vagrant provision #{operation[:name]} --provision-with=rke_up\" to complete cluster creation"
+operation_post_msg = "Run: \"vagrant provision #{operation[:name]} --provision-with=rke_up,setup_kubectl\" to complete cluster creation"
$replace_dns = <<-SCRIPT
HOST_IP="$1"
@@ -150,6 +150,12 @@ Vagrant.configure('2') do |config|
trigger.warn = "Removing cluster"
trigger.run_remote = {privileged: false, inline: $rke_down}
end
+
+ config.vm.provision "get_kubectl", type: :shell, path: "../../tools/dublin/get_kubectl.sh"
+ config.vm.provision "setup_kubectl", type: :shell, run: "never" do |s|
+ s.privileged = false
+ s.path = "../../tools/dublin/setup_kubectl.sh"
+ end
end
end
end