-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kind/feature/5395/expand pod template spec #5445
base: main
Are you sure you want to change the base?
kind/feature/5395/expand pod template spec #5445
Conversation
Hi, I'm not sure what value should actually be added for the "protobuf" string in pkg/apis/camel/v1/integration_types.go. The value I gave was |
You can follow the k8s api podspec and set |
@claudio4j Thanks I found the right values. Also I noticed in
|
Yes, thanks. Can you squash the commits once you have it ready for review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where we definetely need at least a unit test to validate the feature. Have a look at https://github.com/apache/camel-k/blob/main/pkg/trait/pod_test.go and create at least one test that would add the new value and verify this is correctly added to the Deployment.
To consider if this is really ready to merge: https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/pod.20template.20fields.20interfere.20with.20knative |
33603aa
to
d14541a
Compare
d14541a
to
37fb704
Compare
8c35a8c
to
d55c64b
Compare
I added the test to ensure that the field is set properly on the deployment. I also relayed with my security team and it we only need this field so that we can set it to false which does not interfere with Knative. It is only when this field is explicitly set to |
I'm not familiar with knative, but this behavior seems to be a corner case of knative. As this is documenteded on knative, I'm ok with the addition of this field. |
Adding pod template support for field: AutomountServiceAccountToken
Release Note