-
Notifications
You must be signed in to change notification settings - Fork 116
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
Could not create cache rule for wildcard #789
Comments
@saikumarch7548 A cache rule for wildcard In your repro steps above, you mentioned |
@kichalla yes I have some existing repositories in the registry , but those repositories are not related to the cache rule that I am going to create(docker.io/library). No repositories from docker.io/library existed yet Regarding the static cache rule, target repository is not existed in the registry. Also the same case for the wildcard cache rule that I am going to create. What I have noticed is that * is working when there are no repositories in the registry yet. But cache rules should only fail when it tries to pull a repo that is already existed, but in our case here we are trying to block the creating itself. The error message is also a bit wierd |
@saikumarch7548 Could you please share the following information to aid in further investigation? Thank you.
|
Hi @kichalla I think its less important to share my IP in this case, since I have mentioned how to reproduce the issue and it is always reproducible. Please reproduce it yourself and let me know if you have any issues |
Regarding:
if you have any existing repositories (for example, let say Regarding
if you have any existing repositories (for example, let say Regarding your repro steps:
Can you give me an example of what can be those repositories as the repository paths matter in cache rule creation? as mentioned above if the target repository of a static cache rule matches an existing repository, we block the creation and similarly during creation of a wild card cache rule(i.e target repository is |
Describe the bug
I have an existing ACR repo and I am trying to create cache rules. static or fixed cache rule worked. It fails with an error when trying to create a wildcard cache rule, see image below
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Wildcard cache rule should work as expected since there are no conflicting wild card entries
Screenshots
see above for images
Additional context
I have tested the same with a new ACR without any existing repositories and it was working
The text was updated successfully, but these errors were encountered: