Merge pull request #998 from mattymo/fix_upgrade_daemonsets

Fix upgrade for all daemonset type resources
This commit is contained in:
Matthew Mosesohn
2017-02-09 20:02:21 +03:00
committed by GitHub
5 changed files with 53 additions and 1 deletions

View File

@@ -41,6 +41,7 @@
template:
src: canal-node.yml.j2
dest: "{{kube_config_dir}}/canal-node.yaml"
register: canal_node_manifest
- name: Canal | Copy cni plugins from hyperkube
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /usr/bin/rsync -a /opt/cni/bin/ /cnibindir/"