mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Fix ownership related to Calico (#8072)
kube-bench scan outputs warning related to Calico like: * text: "Ensure that the Container Network Interface file permissions are set to 644 or more restrictive (Manual)" * text: "Ensure that the Container Network Interface file ownership is set to root:root (Manual)" This fixes these warnings.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
file:
|
||||
path: /etc/cni/net.d
|
||||
state: directory
|
||||
owner: kube
|
||||
owner: root
|
||||
mode: 0755
|
||||
- name: Setup CNI
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user