-
Notifications
You must be signed in to change notification settings - Fork 12
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
block.kontain.me #66
Comments
This sounds useful for chaos testing registry clients. I like it. The only question I have is how the behavior should be configured. Should we just hard-code certain behaviors into the registry (i.e., Blocking pulling images by tag if the tag has changed sounds roughly like the goal of https://github.com/imjasonh/kontain.me/tree/main/cmd/transparency, which I haven't finished yet. |
Oh, I see. Putting configs in hardcoded state requires a recompilation so I'm slightly -1 for this idea. It would be nice to pass a config.yaml to server using |
I mean, it's a hacky registry for fun, I don't care if its rules are hard-coded or pulled from a config file at startup. The point of it all is to build something fun. There's no reason to design it for real life. |
Block the image pull operation for such cases:
The idea is to simulate the following cases:
Not sure which HTTP status we should return for these situations.
The text was updated successfully, but these errors were encountered: