summaryrefslogtreecommitdiffstats
path: root/vagrant/playbooks
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2019-01-04 04:11:57 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-04 04:11:57 +0000
commit6bbfadbdfe670334ad7755f3578d668d66dd9756 (patch)
tree0dd7c8a6bac0921cb096eba6c729245489ddc625 /vagrant/playbooks
parentd0ec87e1df4ce133ca3e10f6de7c5b3789490255 (diff)
parent159eb9811ee7de4e99efc8f8a8404a2a9f455d70 (diff)
Merge "Bump kubernetes client to 1.12.3"
Diffstat (limited to 'vagrant/playbooks')
-rw-r--r--vagrant/playbooks/configure-virtlet.yml5
-rw-r--r--vagrant/playbooks/krd-vars.yml2
2 files changed, 4 insertions, 3 deletions
diff --git a/vagrant/playbooks/configure-virtlet.yml b/vagrant/playbooks/configure-virtlet.yml
index 66deb5cb..44c87a48 100644
--- a/vagrant/playbooks/configure-virtlet.yml
+++ b/vagrant/playbooks/configure-virtlet.yml
@@ -128,9 +128,10 @@
path: "{{ virtlet_dest }}/virtletctl"
mode: "+x"
- name: install virtletctl as kubectl plugin
- command: "{{ virtlet_dest }}/virtletctl install"
+ become: yes
+ command: "mv {{ virtlet_dest }}/virtletctl /usr/local/bin/kubectl-virt"
- name: create Virtlet k8s objects
- shell: "/usr/local/bin/kubectl plugin virt gen | /usr/local/bin/kubectl apply -f -"
+ shell: "/usr/local/bin/kubectl virt gen | /usr/local/bin/kubectl apply -f -"
ignore_errors: True
- name: wait for Virtlet daemonset
shell: "/usr/local/bin/kubectl get ds virtlet -n=kube-system -o=jsonpath --template={.status.numberReady}"
diff --git a/vagrant/playbooks/krd-vars.yml b/vagrant/playbooks/krd-vars.yml
index e8d13f34..5d1a088a 100644
--- a/vagrant/playbooks/krd-vars.yml
+++ b/vagrant/playbooks/krd-vars.yml
@@ -59,5 +59,5 @@ ovn4nfv_url: "https://git.opnfv.org/ovn4nfv-k8s-plugin/"
go_version: '1.11'
kubespray_version: 2.8.0
-kubectl_version: 1.11.2
+kubectl_version: 1.12.2
helm_client_version: 2.9.1