harbor icon indicating copy to clipboard operation
harbor copied to clipboard

RegEx support for replication filters

Open MaxRink opened this issue 5 years ago • 6 comments

Is your feature request related to a problem? Please describe. Curretnly the replication filter only supports a very limited set of filters. We basically want to mirror a lot of external repos for internal use and for that i basically want to filter out any non-release images. That would be much easier with an regex syntax

MaxRink avatar May 19 '20 12:05 MaxRink

Another feature which would be pretty nice to have. Version Aware Replication of Images and Helmcharts. For that to work you can enable a regex which defines groups to match for.

e.g.: bitnami/java 14.0.1-debian-10-r19-prod

regex lists: ^(\d+).(\d+).(\d+).-debian-10-r(\d+)-prod

tuple(14 0 1 19) which then can be ordered from left to right to the semver compliant version.

14.0.1.19

And now you are able to define something like the last 10 versions of an image should be replicated.

Cellebyte avatar May 19 '20 16:05 Cellebyte

Will be great the see this feature :+1:

HaveFun83 avatar Oct 08 '20 09:10 HaveFun83

Raised previously in #8614

hobti01 avatar Jan 26 '21 08:01 hobti01

is there any news? the linked thread is for a much older version.

badsmoke avatar Jun 21 '21 04:06 badsmoke

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

github-actions[bot] avatar Jul 07 '22 09:07 github-actions[bot]

at least put it on your todo list, for a current harbor version and not v1

badsmoke avatar Sep 06 '22 09:09 badsmoke