ammachado commented on code in PR #3330: URL: https://github.com/apache/camel-k/pull/3330#discussion_r889637520
########## pkg/trait/pod_test.go: ########## @@ -138,6 +150,9 @@ func createPodTest(podSpecTemplate string) (*podTrait, *Environment, *appsv1.Dep }, }, }, + SecurityContext: &corev1.PodSecurityContext{ Review Comment: A change I'd like to make is to make all fields of the `PodSpec` optional. Today the field `Containers` is not optional (the only one). I have to declare an empty `containers: []` on my pod template string to get accepted on `kamel run`. -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org