Expand Integration pod template spec
Requirement
We have security requirements for production deployments that require modifications the integration pods/containers. For example, being able to configure automountServiceAccountToken to the deployed integration pod. Currently this is the only field that we cannot configure, however we expect more to come in the future as our requirements evolve.
Zulip thread: https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/Integration.20PodTemplate.20uses.20custom.20PodSpec
Problem
Currently the framework is using a custom PodSpec which is a subset of the official Kubernetes PodSpec. Many fields are simply not available, for example automountServiceAccountToken and there isn't any other way to configure this field from within the framework.
Proposal
Configure more fields from the Kubernetes PodSpec and add them to the subset PodSpec that camel-k is using. Ideally the whole K8 PodSpec would be available for maximum customization. If not, perhaps we could streamline the process for adding additional fields to the PodSpec as the requirements come up.
Open questions
No response
Thanks for reporting. Please, let us know if you're planning to work on this by any chance.
Hi @squakez I created a draft PR for this: https://github.com/apache/camel-k/pull/5445
I had a question in the PR regarding how I set a protobuf value.