Skip to content

Add proxy cache filter proposal#280

Open
stonezdj wants to merge 7 commits intogoharbor:mainfrom
stonezdj:26apr02_add_proxy_cache_filter
Open

Add proxy cache filter proposal#280
stonezdj wants to merge 7 commits intogoharbor:mainfrom
stonezdj:26apr02_add_proxy_cache_filter

Conversation

@stonezdj
Copy link
Copy Markdown
Contributor

@stonezdj stonezdj commented Apr 2, 2026

No description provided.

@stonezdj stonezdj requested review from a team as code owners April 2, 2026 09:38
@stonezdj stonezdj force-pushed the 26apr02_add_proxy_cache_filter branch from 0ab43d1 to a0559f5 Compare April 2, 2026 09:40
Signed-off-by: stonezdj <stonezdj@gmail.com>
@stonezdj stonezdj force-pushed the 26apr02_add_proxy_cache_filter branch from a0559f5 to e97b57b Compare April 2, 2026 09:43
stonezdj added 3 commits April 2, 2026 17:45
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
@wy65701436 wy65701436 requested a review from chlins April 21, 2026 08:48

## Solution

Add a new optional setting for proxy cache projects: `repository_filter`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this setting applied to the project metadata? Do we have a universal proxy cache related config section? It maybe confused to other normal projects.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in project_metadata, means it is configured per proxy cache project.

Comment thread proposals/new/filter_repository_proxycache.md Outdated
stonezdj and others added 3 commits May 7, 2026 13:13
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
…a keys

Use proxy_filter_pattern and proxy_filter_kind as separate string metadata
keys instead of a single JSON-encoded repository_filter value, consistent
with Harbor's existing project metadata conventions.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

4 participants