-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
None
-
False
-
-
-
Tracing Sprint # 229, Tracing Sprint # 230, Tracing Sprint # 231, Tracing Sprint # 232, Tracing Sprint # 233
Some E2E tests deploy a business application to test the autoinstrumentation. That application cannot be deployed in OpenShift due to security context. This warning is shown when the deployment is created:
Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (containers "myapp", "myrabbit" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (containers "myapp", "myrabbit" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "myapp", "myrabbit" must set securityContext.runAsNonRoot=true), seccompProfile (pod or containers "myapp", "myrabbit" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
Affected E2E tests:
- instrumentation-python
- instrumentation-dotnet
- instrumentation-java
- instrumentation-nodejs
- instrumentation-java-other-ns