tadayosi commented on code in PR #3330:
URL: https://github.com/apache/camel-k/pull/3330#discussion_r889634178
##########
pkg/trait/pod_test.go:
##########
@@ -138,6 +150,9 @@ func createPodTest(podSpecTemplate string) (*podTrait,
*Environment, *appsv1.Dep
},
},
},
+ SecurityContext:
&corev1.PodSecurityContext{
Review Comment:
@ammachado But look at `(*podTrait).Appy()`:
https://github.com/apache/camel-k/blob/main/pkg/trait/pod.go#L65
It reads the `PodTemplateSpec` from `Integration` and does the job of
applying the template changes to the `Deployment`. If it's hardcoded in the
`Deployment` in the test settings, this step is not tested here.
Am I still missing something?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]