-
Notifications
You must be signed in to change notification settings - Fork 387
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
Unconditionally sync CA cert for Controller webhooks #3421
Unconditionally sync CA cert for Controller webhooks #3421
Conversation
Webhooks are used by other features besided AntreaPolicy. At the moment, if someone tries to disable AnteraPolicy and enable Egress for example, the webhooks would not be using the correct CA cert and the Egress API would not be usable. Given that we unconditionally create these webhooks in the Antrea deployment manifest, it makes sense to unconditionally sync the CA cert for them. Signed-off-by: Antonin Bas <abas@vmware.com>
033458e
to
7a5e3fe
Compare
Codecov Report
@@ Coverage Diff @@
## main #3421 +/- ##
===========================================
+ Coverage 42.41% 53.67% +11.26%
===========================================
Files 200 239 +39
Lines 24296 34209 +9913
===========================================
+ Hits 10305 18362 +8057
- Misses 12929 14075 +1146
- Partials 1062 1772 +710
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
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
/test-e2e |
Webhooks are used by other features besided AntreaPolicy. At the moment, if someone tries to disable AnteraPolicy and enable Egress for example, the webhooks would not be using the correct CA cert and the Egress API would not be usable. Given that we unconditionally create these webhooks in the Antrea deployment manifest, it makes sense to unconditionally sync the CA cert for them. Signed-off-by: Antonin Bas <abas@vmware.com>
Webhooks are used by other features besided AntreaPolicy. At the moment,
if someone tries to disable AnteraPolicy and enable Egress for example,
the webhooks would not be using the correct CA cert and the Egress API
would not be usable.
Given that we unconditionally create these webhooks in the Antrea
deployment manifest, it makes sense to unconditionally sync the CA cert
for them.
Signed-off-by: Antonin Bas abas@vmware.com