Browse Source

Merge pull request #2538 from hswong3i/weave-2.2.1-fixup

Fixup #2523: Upgrade Weave to 2.2.1
pull/2501/merge
Andreas Krüger 7 years ago
committed by GitHub
parent
commit
c78f5393c3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions
  1. 2
      roles/network_plugin/weave/tasks/main.yml
  2. 0
      roles/network_plugin/weave/templates/00-weave.conflist.j2
  3. 6
      roles/network_plugin/weave/templates/weave-net.yml.j2

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

@ -4,7 +4,7 @@
- name: template weavenet conflist
template:
src: weavenet.conflist.j2
src: 00-weave.conflist.j2
dest: /etc/cni/net.d/00-weave.conflist
owner: kube

roles/network_plugin/weave/templates/weavenet.conflist.j2 → roles/network_plugin/weave/templates/00-weave.conflist.j2

6
roles/network_plugin/weave/templates/weave-net.yml.j2

@ -141,7 +141,11 @@ items:
initialDelaySeconds: 30
resources:
requests:
cpu: 10m
cpu: {{ weave_cpu_requests }}
memory: {{ weave_memory_requests }}
limits:
cpu: {{ weave_cpu_limits }}
memory: {{ weave_memory_limits }}
securityContext:
privileged: true
volumeMounts:

Loading…
Cancel
Save