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>
pull/4849/head
Alberto Murillo 2019-06-06 04:34:13 -07:00 committed by Kubernetes Prow Robot
parent d62684b617
commit 4afbf51d32
1 changed files with 2 additions and 1 deletions

View File

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