-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Immutability rules issue with character "/" #20102
Comments
Hi @gaglimax ,
|
Hi,
|
Emmm.. it should work as expected.
And the result of api call
|
Did you create the rule via API? Could you try to create one through UI? |
Hi @MinerYang, Any news about this issue ? |
Hi @gaglimax , I can not reproduce the issue accordingly. We may need more contexts to triage.
|
Hi, I tried to reproduce the issue on a staging Harbor instance and I have the same behaviour.
I tried to tailing logs of all pods while creating/activating the rule, but nothing is logged. |
Any errors message in the harbor-core while you apply this rule? like |
No nothing regarding this issue in harbor-core... |
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. |
We do have the same issue, following the error in the core logs:
I tried by escaping the "/" using "\" w/o success (no error reported but the corresponding repository is not excluded as expected) |
looks similar issue like mentioned in #14259 but we are on 2.8.1 and the ticket stipulates fix is on 2.2 |
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. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
Expected behavior and actual behavior:
When I define an immutability rule excluding several repos containing the charactere "/", the rule should work (this is the only rule enabled) :
However, the rule is not working, no tag is immutable.
Steps to reproduce the problem:
In a project, push next images (just the name is important) :
Then, create the rule above and see that you can remove all artifacts whereas redis:latest should be immutable.
Versions:
The text was updated successfully, but these errors were encountered: