ingress-nginx
                                
                                 ingress-nginx copied to clipboard
                                
                                    ingress-nginx copied to clipboard
                            
                            
                            
                        sensitive file with too large permission
ingress-nginx-controller places the key file on the disk and use permission 0o700 for starting the nginx server. https://github.com/kubernetes/ingress-nginx/blob/main/pkg/util/file/filesystem.go i think 0600 shall be enough.
$ ll /etc/ingress-controller/ssl/kube-system-ingress-cert.pem
-rwx------ 1 root root 4911 Mar 26 11:08 /etc/ingress-controller/ssl/kube-system-ingress-cert.pem