Browse Source

Rename weave-kube to weave-net

Cleans up upgrade to weave 1.82. The original WeaveWorks
daemonset definition uses weave-net name.
pull/957/head
Matthew Mosesohn 7 years ago
parent
commit
39d87a96aa
3 changed files with 5 additions and 5 deletions
  1. 4
      roles/kubernetes-apps/network_plugin/weave/tasks/main.yml
  2. 6
      roles/network_plugin/weave/tasks/main.yml
  3. 0
      roles/network_plugin/weave/templates/weave-net.yml.j2

4
roles/kubernetes-apps/network_plugin/weave/tasks/main.yml

@ -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') }}"

6
roles/network_plugin/weave/tasks/main.yml

@ -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

roles/network_plugin/weave/templates/weave-kube.yml.j2 → roles/network_plugin/weave/templates/weave-net.yml.j2

Loading…
Cancel
Save