Describe the bug
On Kubernetes environments with strict securityContext policies, the builder and demomode pods cannot start. Currently, the builder is taking the specs from the builder yaml from configuration, but it does not take also the container specs, where some securityContext policies are defined. Also the demomode pod takes the specs from the deployment.jkube.yaml, but only partially, leaving out the securityContext.
More information inside the discussion item: #1364
Steps to reproduce the behavior
- Add securityContext elements to the builder and demomode pods
- Run them, and check the yaml of the k8s files
- The securityContext is not taken from the configuration
Variant
Web Application
Container Management (if applicable)
Kubernetes
Operating System (if applicable)
None
Version
4.8.0
Relevant log output
No response