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 2023-09-04 17:29:49 +08:00 committed by GitHub
parent 8497528240
commit 8fef156e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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