Skip to content
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

Distro-agnostic registry redirect #182

Closed
RothAndrew opened this issue Dec 1, 2021 · 3 comments
Closed

Distro-agnostic registry redirect #182

RothAndrew opened this issue Dec 1, 2021 · 3 comments

Comments

@RothAndrew
Copy link
Contributor

As a user of Zarf's Utility Cluster mode, I need a way to automatically mutate image registries specified in kubernetes container specs to point at my utility cluster, so that I can utilize the utility cluster without having to change all of my configuration files to point at a different registry

Notes:

  1. The way this is talked about being done right now is to create a new Zarf example that deploys Kyverno with the replace-image-registry mutating webhook
@neoakris
Copy link

neoakris commented Dec 1, 2021

Additional Background Context (for googlers):
The reason Kyverno was suggested is because although containerd and cri-o offer registry mirroring functionality, they don't offer a consistent solution. A mutating webhook would result in a solution that's consistent regardless of the underlying implementation details (ex: cri-o vs containerd), and the mutating webhook is more push button to implement compared to the yak shaving exercise of figuring out a method of configuring cri-o / containerd's registry mirroring on every node.

@RothAndrew
Copy link
Contributor Author

Talked about this for a bit today, mostly in relation to the native-apply stuff that is being worked on. If we end up making a "Zarf Agent" that runs in the cluster we may not need this, because that would handle the need here already.

/cc @jeff-mccoy

@RothAndrew RothAndrew moved this to New Requests in Zarf Project Board Jan 10, 2022
@RothAndrew RothAndrew moved this from New Requests to Planned in Zarf Project Board Jan 10, 2022
@jeff-mccoy
Copy link
Contributor

Completed by #237

Repository owner moved this from Planned to Done in Zarf Project Board Feb 26, 2022
@Racer159 Racer159 moved this to Done in Zarf Project Board Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants