Skip to content

Commit

Permalink
fix: specify owner to kube_owner in task of copy cni plugins (#10407)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
NierYYDS authored Sep 4, 2023
1 parent 8497528 commit 8fef156
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/network_plugin/cni/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
src: "{{ downloads.cni.dest }}"
dest: "/opt/cni/bin"
mode: 0755
owner: "{{ kube_owner }}"
remote_src: yes

0 comments on commit 8fef156

Please sign in to comment.