-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
change: allow full K3s registry configuration #1215
change: allow full K3s registry configuration #1215
Conversation
Hi @maxsargentdev thank you for this PR! |
Sure I will give it a go after work today :) |
Hey @maxsargentdev did you have any luck yet? :) |
Sorry haven't had time yet @iwilltry42. Feel free to take it off my hands, I will find some other area to contribute in future. |
@iwilltry42 is this still needing doing? Got some free time this week. |
@maxsargentdev yes please that would be great! I played with integrating it via wharfie, but didn't actually get around 5o properly implementing it... |
Roger that will take a look over the next week. |
59af952
to
2c84538
Compare
So I have dropped the pkg/types/k3s/registry.go containing the registry types and replaced it with a wharfie import. I have updated other references and unit tests are passing, which I would expect as not much has really changed. Is this the change you had in mind? I have left my original change to pkg/client/registry.go to allow for rewrites. |
ee248e1
to
8ae1353
Compare
… of config - This will allow for passing through mirror config via the config block - This wont allow rewrites to be configured as part of a k3d config file, only via registries.yaml (inline or not)
- Updated vendor folder with new deps pulled in by wharfie - Replaces old registry implementation with the exact same but from ranchers wharfie project
8ae1353
to
f742937
Compare
@maxsargentdev yep, that's it! |
What
Allow rewrites configuration via config file or inline file to be reflected in generated registries.yaml file via merge.
Why
Provide rewrite functionality from k3s private registries
Implications
No impact for previous versions.