Rename weave-kube to weave-net

Cleans up upgrade to weave 1.82. The original WeaveWorks
daemonset definition uses weave-net name.
This commit is contained in:
Matthew Mosesohn 2017-01-31 18:47:27 +03:00
parent 6463a01e04
commit 39d87a96aa
3 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
- name: Weave | Start Resources
run_once: true
kube:
name: "weave-kube"
name: "weave-net"
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/weave-kube.yml"
filename: "{{ kube_config_dir }}/weave-net.yml"
resource: "ds"
namespace: "{{system_namespace}}"
state: "{{ item | ternary('latest','present') }}"

View file

@ -8,8 +8,8 @@
changed_when: false
tags: [hyperkube, upgrade]
- name: Weave | Create weave-kube manifest
- name: Weave | Create weave-net manifest
template:
src: weave-kube.yml.j2
dest: "{{ kube_config_dir }}/weave-kube.yml"
src: weave-net.yml.j2
dest: "{{ kube_config_dir }}/weave-net.yml"
register: weave_manifest