Skip to content
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

test #6

Closed
wants to merge 8 commits into from
Closed

test #6

wants to merge 8 commits into from

Conversation

kyrtapz
Copy link
Owner

@kyrtapz kyrtapz commented Aug 18, 2023

No description provided.

Signed-off-by: Nadia Pinaeva <[email protected]>
ovnkube-controller and ovnkube-node depend on each other to start up,
therefore they are run in parallel.

Signed-off-by: Nadia Pinaeva <[email protected]>
ovnkube-controller and ovnkube-node.

Fix fake ovn startup order: start watch factory after controller init.
Set EnableMultiExternalGateway for tests using abproutes

Signed-off-by: Nadia Pinaeva <[email protected]>
failing. The problem is annotation-based and CR-based configs had
different BFD settings. Before the change external_gw code always
handled annotations before apbroute controller handled CRD, and
annotation-based config took place, now with the change CR-based
config is applied before. Add 2 explicit test cases for both handling
orders to make sure the config will be the same.

Signed-off-by: Nadia Pinaeva <[email protected]>
@kyrtapz kyrtapz force-pushed the test_cm branch 6 times, most recently from 02cd51a to 18280b4 Compare August 18, 2023 13:37
@kyrtapz kyrtapz closed this Aug 19, 2023
@kyrtapz kyrtapz reopened this Aug 19, 2023
@kyrtapz
Copy link
Owner Author

kyrtapz commented Aug 19, 2023

/retest

1 similar comment
@kyrtapz
Copy link
Owner Author

kyrtapz commented Aug 19, 2023

/retest

Changes to metadata via status subresources are not restricted for the basic kubernetes types.
This means we can set the status/annotations/labels with only the status subresource permissions.

Upstream note:
kubernetes/kubernetes#92022 (comment)

Signed-off-by: Patryk Diak <[email protected]>
This commit refactors the RBAC rules and serviceAccount ovn-kubernetes uses.
Instead of using one ServiceAcoount with one ClusterRole break it down per component.
This makes it easier to track which permissions are required by which piece
and avoid the mess of granting high privilages to everyone.

Signed-off-by: Patryk Diak <[email protected]>
@kyrtapz kyrtapz reopened this Aug 19, 2023
@kyrtapz kyrtapz force-pushed the test_cm branch 2 times, most recently from d73a4c8 to 429db59 Compare August 19, 2023 21:55
@kyrtapz
Copy link
Owner Author

kyrtapz commented Aug 20, 2023

/retest

@kyrtapz kyrtapz force-pushed the test_cm branch 2 times, most recently from 2169684 to 857f423 Compare August 20, 2023 07:49
On startup each ovnkube-node pod should request a certificate
that it will then use to communicate with the API server.
This allows to identify which node made a particular request
and it is used to implement an admission webhook for write changes.

Signed-off-by: Patryk Diak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants