Browse Source

fix: specify owner to kube_owner in task of copy cni plugins (#10407)

if not set owner to kube_owner in unarchive module, the owner of /opt/cni/bin will changed to root, which is inconsistent with the previous task.
pull/10411/head
NierYYDS 1 year ago
committed by GitHub
parent
commit
8fef156e8f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/network_plugin/cni/tasks/main.yml

1
roles/network_plugin/cni/tasks/main.yml

@ -12,4 +12,5 @@
src: "{{ downloads.cni.dest }}"
dest: "/opt/cni/bin"
mode: 0755
owner: "{{ kube_owner }}"
remote_src: yes
Loading…
Cancel
Save