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

refactor(kube-api-rewriter): rewrite owner refs #105

Closed
wants to merge 12 commits into from

Conversation

LopatinDmitr
Copy link
Contributor

Description

add rewrite ownerReferences for all resources

Why do we need it, and what problem does it solve?

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@LopatinDmitr LopatinDmitr marked this pull request as draft May 21, 2024 14:53
- add rewrite owner reference for kubevirt and cdi related resources

Signed-off-by: Dmitry Lopatin <[email protected]>
@LopatinDmitr LopatinDmitr force-pushed the feat/kube-api-rewriter/rewrite-owner-refs branch from bb0428e to 67f50ad Compare May 22, 2024 14:43
- add rewrite owner reference for RoleKind and RoleBinding

Signed-off-by: Dmitry Lopatin <[email protected]>
@fl64 fl64 changed the title feat(kube-api-rewriter): rewrite owner refs chore(kube-api-rewriter): rewrite owner refs May 23, 2024
@fl64 fl64 changed the title chore(kube-api-rewriter): rewrite owner refs refactor(kube-api-rewriter): rewrite owner refs May 23, 2024
- rolling back previous changes for RoleKind and RoleBinding

Signed-off-by: Dmitry Lopatin <[email protected]>
@LopatinDmitr LopatinDmitr marked this pull request as ready for review May 23, 2024 13:52
@LopatinDmitr LopatinDmitr requested a review from diafour May 23, 2024 13:52
@LopatinDmitr LopatinDmitr marked this pull request as draft May 27, 2024 07:26
- add res type for method 'ShouldRewriteRequest'

Signed-off-by: Dmitry Lopatin <[email protected]>
- add rewrite owner ref into PATCH (for test)
- add debug log

Signed-off-by: Dmitry Lopatin <[email protected]>
- add debug logs

Signed-off-by: Dmitry Lopatin <[email protected]>
- add rewrite for ControllerRevision and PodDisruptionBudget

Signed-off-by: Dmitry Lopatin <[email protected]>
- delete edits with patching

Signed-off-by: Dmitry Lopatin <[email protected]>
- refactor final's edits

Signed-off-by: Dmitry Lopatin <[email protected]>
@LopatinDmitr LopatinDmitr marked this pull request as ready for review May 29, 2024 08:38
@LopatinDmitr LopatinDmitr deleted the feat/kube-api-rewriter/rewrite-owner-refs branch May 31, 2024 10:57
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