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): renaming before refactoring rewrites #153

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 25, 2024

  1. refactor(kube-api-rewriter): renaming before refactoring rewrites

    NOTE: No significant changes in rewriters are made, except simple refactoring in some places:
    - Extract RewriteRoleRule for common code in validating, mutating, clusterrole and role.
    - Support @root path for all transformers.
    
    Main changes:
    - Move traversing methods to transform package.
    - Move rules related code to rules package.
    - Make rewriters one resource rewriters
    - Move ResourceOrList calls out of rewriters to rule_rewriter.go
    - Fix: enable rewrite for ServiceMonitorList.
    
    Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
    diafour committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    c4d71a4 View commit details
    Browse the repository at this point in the history