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): last changes to labels rewriter #113

Conversation

diafour
Copy link
Member

@diafour diafour commented May 29, 2024

Description

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.

@diafour diafour self-assigned this May 29, 2024
@diafour diafour changed the title test: merged barnches to test labels rewriter test: merged branches to test labels rewriter May 29, 2024
@diafour diafour force-pushed the refactor/kube-api-rewriter/rewrite-labels-annos-fins-test branch 2 times, most recently from aea440e to 3632a87 Compare June 6, 2024 11:02
@diafour diafour force-pushed the refactor/kube-api-rewriter/rewrite-labels-annos-fins-test branch 3 times, most recently from 66e945b to 986057d Compare June 14, 2024 12:42
@diafour diafour changed the base branch from main to feat/proxy/rewrite-labels-annos June 14, 2024 12:42
@diafour diafour changed the title test: merged branches to test labels rewriter refactor(kube-api-rewriter): last changes to labels rewriter Jun 14, 2024
@diafour diafour marked this pull request as ready for review June 14, 2024 12:44
@yaroslavborbat yaroslavborbat force-pushed the feat/proxy/rewrite-labels-annos branch from 409fa21 to e7d5e4c Compare June 17, 2024 08:25
@diafour diafour force-pushed the feat/proxy/rewrite-labels-annos branch from e7d5e4c to 64be663 Compare June 17, 2024 11:00
@diafour diafour force-pushed the refactor/kube-api-rewriter/rewrite-labels-annos-fins-test branch from 986057d to 9a24b12 Compare June 17, 2024 11:01
@diafour diafour force-pushed the feat/proxy/rewrite-labels-annos branch from 97fa649 to 6bd3bae Compare June 17, 2024 11:50
@diafour diafour force-pushed the refactor/kube-api-rewriter/rewrite-labels-annos-fins-test branch from 9a24b12 to eaeabc3 Compare June 17, 2024 12:30
- Add KubeVirt and CDI rules for labels, annotations and finalizers.
- Add rewriter for labelSelector in queries.
- Add rewriters for affinity, labelSelectors in different resources.
- Add metadata patch rewriters: nodes, services, deployments, ds, ...
- Add webhooks patch rewriters: validatingwebhookconfigurations, mutatingwebhookconfigurations
- Add more resources for rewrite: jobs, services, deployments, sts, ds, pvc, pod, ...
- Enable rewrite for 3rd party resources: servicemonitors, prometheusrules, ...
- Rename labels in our templates. Add kubectl.kubernetes.io/default-container annotation.
- Add virt-operator patch to rename install-strategy labels: there is no way to rewrite these labels with kube-api-rewriter.
- Simplify some Rewrite* methods using transformers
- Create PrefixedNameRewriter to hold original-renamed indexes.

Signed-off-by: Ivan Mikheykin <[email protected]>
@diafour diafour force-pushed the refactor/kube-api-rewriter/rewrite-labels-annos-fins-test branch from eaeabc3 to 05da3c9 Compare June 17, 2024 12:31
Signed-off-by: Ivan Mikheykin <[email protected]>
@diafour diafour merged commit 0056b22 into feat/proxy/rewrite-labels-annos Jun 17, 2024
1 check passed
@diafour diafour deleted the refactor/kube-api-rewriter/rewrite-labels-annos-fins-test branch June 17, 2024 15:35
diafour added a commit that referenced this pull request Jun 19, 2024
- Add KubeVirt and CDI rules for labels, annotations and finalizers.
- Add rewriter for labelSelector in queries.
- Add rewriters for affinity, labelSelectors in different resources.
- Add metadata patch rewriters: nodes, services, deployments, ds, ...
- Add webhooks patch rewriters: validatingwebhookconfigurations, mutatingwebhookconfigurations
- Add more resources for rewrite: jobs, services, deployments, sts, ds, pvc, pod, ...
- Enable rewrite for 3rd party resources: servicemonitors, prometheusrules, ...
- Rename labels in our templates. Add kubectl.kubernetes.io/default-container annotation.
- Add virt-operator patch to rename install-strategy labels: there is no way to rewrite these labels with kube-api-rewriter.
- Simplify some Rewrite* methods using transformers
- Create PrefixedNameRewriter to hold original-renamed indexes.

---------

Signed-off-by: Ivan Mikheykin <[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