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:
parent
d62684b617
commit
4afbf51d32
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue