-
Notifications
You must be signed in to change notification settings - Fork 97
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
Enable srcAndDstChecksEnabled
field from k8s >= v1.22
#386
Conversation
@AxiomSamarth Label area/todo does not exist. |
/invite @prashanth26 @prashanth26 Could you please help with the |
@AxiomSamarth - We would also have to release the new MCM provider AWS version. @DockToFuture - There would also be calico changes required right? I am guessing some flags in the configuration of the calico? |
@prashanth26 You have pull request review open invite, please check |
7f8f5a9
to
f61e813
Compare
/invite @DockToFuture @ScheererJ Is it okay to set the value of |
It should either be disabled starting from k8s version >= 1.22 which would makes things easier or it should be set based on the boolean value from the network object. For the latter case I will introduce the boolean field
|
f61e813
to
290fd93
Compare
Depends on #387. |
@ScheererJ, @prashanth26, @DockToFuture You have pull request review open invite, please check |
290fd93
to
3f54a6b
Compare
Should we enable this setting by default on the CNIs? Or will the CNI support both ways? I am guessing it would be the latter. In that case, it should be fine. cc: @DockToFuture for opinion. |
@prashanth26 What do you mean with |
@prashanth26, @ScheererJ You have pull request review open invite, please check |
Apologies for the delayed response.
My question was that with current changes the check would be disabled by default with |
@rfranzke I believe implementation is in place. @DockToFuture Any more comments? |
yes it will work in both modes with disabled checks |
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.
/lgtm
Thanks! @prashanth26 any further comments? |
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.
/lgtm
Thanks. no further comments.
/hold |
/unhold |
cc @timuthy |
How to categorize this PR?
/area networking
/kind enhancement
/platform aws
What this PR does / why we need it:
This PR introduces a new field in the
providerSpec
ofMachineClass
for AWS calledsrcAndDstChecksEnabled
which istrue
by default and when set tofalse
will disable the source destination check on the AWS Instance (NAT instance in this case). This field shall be used by default from K8s >= v1.22Which issue(s) this PR fixes:
Fixes #36
Special notes for your reviewer:
Release note: