A while ago, Jenkins introduced CSP header which is very restrictive in terms of protecting user from malicious HTML/JS files. It's possible to relax this rules by temporarily changing "hudson.model.DirectoryBrowserSupport.CSP" property in Jenkins' Script Console, shown for instance here: Jenkins Content Security Policy
However, I would like to have it set permanently. Unfortunately, I'm yet to find how it should be done properly if someone's using Helm Charts to define Jenkins. Does anyone have working solution?
Any help appreciated.