Browse Source

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 5 years ago
committed by Kubernetes Prow Robot
parent
commit
4afbf51d32
1 changed files with 2 additions and 1 deletions
  1. 3
      roles/network_plugin/kube-router/tasks/main.yml

3
roles/network_plugin/kube-router/tasks/main.yml

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

Loading…
Cancel
Save