ammachado commented on code in PR #3330:
URL: https://github.com/apache/camel-k/pull/3330#discussion_r889551836
##########
pkg/trait/pod_test.go:
##########
@@ -138,6 +150,9 @@ func createPodTest(podSpecTemplate string) (*podTrait,
*Environment, *appsv1.Dep
},
},
},
+ SecurityContext:
&corev1.PodSecurityContext{
Review Comment:
If you see the previous lines on that file, it is composing a Deployment by
hand, not using one coming from an integration. All the tests on that file use
a `corev1.PodTemplateSpec` spec, not the one `PodTemplateSpec` from
`integration_types.go` (the one I changed).
I was debugging here on an Openshift instance, and as far as I can tell, on
the POST client call where the value is sent to the Kubernetes API the value is
present, but not on the return from the API.
--
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]