It's possible to use a custom extra "web.xml" file with just customizations without need to edit/override some existing file. On Tomcat file is:
/usr/local/tomcat/webapps/ROOT/WEB-INF/tomcat-web.xml
*Important: Maybe will be nice to add this to the source code with a comment that any change can be overridden by something defined using helm. This prevents product of introducing some value on this file and this breaks some deployed. For Jetty, we need to check if there is something similar. https://jetty.org/docs/jetty/12/operations-guide/deploy/index.html#jetty-override-web-xml |