kube-router: Set ownership of /opt/cni/bin/* to kube (#4825)

Task "kube-roter | Set cni directory permissions"
sets ownership of /opt/cni/bin to "kube"

Task "kube-router | Copy cni plugins"
copies the binaries from the archive setting the ownership
back to "root"

Fix "kube-roter" typo

Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com>
This commit is contained in:
Alberto Murillo 2019-06-06 04:34:13 -07:00 committed by Kubernetes Prow Robot
parent d62684b617
commit 4afbf51d32

View file

@ -3,7 +3,7 @@
include: annotate.yml include: annotate.yml
tags: annotate tags: annotate
- name: kube-roter | Set cni directory permissions - name: kube-router | Set cni directory permissions
file: file:
path: /opt/cni/bin path: /opt/cni/bin
state: directory state: directory
@ -16,6 +16,7 @@
src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz" src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
dest: "/opt/cni/bin" dest: "/opt/cni/bin"
mode: 0755 mode: 0755
owner: kube
remote_src: yes remote_src: yes
- name: kube-router | Create manifest - name: kube-router | Create manifest