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

feat: add registry namespace rewrite policy #2494

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jojotong
Copy link

@jojotong jojotong commented Feb 13, 2025

What type of PR is this?

/kind feature

What this PR does / why we need it:

Feat: add registry namespace rewrite policy, eg:

  registry:
    # define a policy to modify image namespace, the policy below will be like:
    # namespace1 -> library
    # kubesphere -> library/kubesphere
    namespaceRewrite:
      policy: changePrefix
      src: 
        - namespace1
      dest: library

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


Copy link

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubesphere-prow kubesphere-prow bot added kind/feature Categorizes issue or PR as related to a new feature. do-not-merge/release-note-label-needed labels Feb 13, 2025
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jojotong
Once this PR has been reviewed and has the lgtm label, please assign 24sama for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubesphere-prow kubesphere-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 13, 2025
@jojotong jojotong force-pushed the feat_add_registry_namespace_rewrite_policy branch from f9cd188 to 05edfca Compare February 13, 2025 11:10
Copy link

This PR has multiple commits, and the default merge method is: squash.
You can request commits to be merged using the label: tide/merge-method-merge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jojotong jojotong force-pushed the feat_add_registry_namespace_rewrite_policy branch from 0d76dbb to 5691686 Compare February 17, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/release-note-label-needed kind/feature Categorizes issue or PR as related to a new feature. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant