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

Add repo mirroring #38

Merged
merged 2 commits into from
Sep 15, 2021
Merged

Add repo mirroring #38

merged 2 commits into from
Sep 15, 2021

Conversation

RothAndrew
Copy link
Contributor

Add file /etc/rancher/k3s/registries.yaml to init package which will tell k3s to automatically use zarf.localhost as a registry mirror for various remote registries

@jeff-mccoy
Copy link
Contributor

Thanks, still just had a question on http vs https for the mirror, did you test https and run into cert trust issues? I think it’s fine if that’s the case, can just roll that into #6.

@RothAndrew
Copy link
Contributor Author

Thanks, still just had a question on http vs https for the mirror, did you test https and run into cert trust issues? I think it’s fine if that’s the case, can just roll that into #6.

I'll check, I think I just assumed it wouldn't work with https.

@RothAndrew
Copy link
Contributor Author

Ran out of time today, but will definitely look at this tomorrow.

@jeff-mccoy
Copy link
Contributor

Confirmed https works. Thinking about this a little more this actually makes sense because Zarf handles host-level trust of the Zarf ephemeral CA already, so containerd shouldn't get sad either. Going to merge this now, thanks!

Screen Shot 2021-09-15 at 4 27 34 AM

Screen Shot 2021-09-15 at 4 27 00 AM

@jeff-mccoy jeff-mccoy merged commit a74caba into master Sep 15, 2021
@jeff-mccoy jeff-mccoy deleted the feature/add_repo_mirroring branch September 15, 2021 09:32
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

Successfully merging this pull request may close these issues.

2 participants