CNI configuration files have permissions 644 when 600 should be enough #6382
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Describe the bug
The CNI configuration file at /etc/cni/net.d/10-antrea.conflist gets the permissions 644 even though 600 should suffice. This is marked as a failure by the CIS Kubernetes Benchmark 1.9.0 #1.1.9
To Reproduce
Run
Expected
Actual behavior
Versions:
projects.registry.vmware.com/tkg/antrea-advanced-debian@sha256:cd855cf402d22aff0826062bbd91fb330a1c294d0f8ca87b9d765f7dc11934e2
(from tanzu standard packages 1.13.1+vmware.3-tkg.1)
uname -r
): 5.15.0-89-genericAdditional context
It is set - it seems - in the file https://github.com/antrea-io/antrea/blob/main/build/images/scripts/install_cni on this line:
The text was updated successfully, but these errors were encountered: