Skip to content

Commit

Permalink
Merge pull request #38 from defenseunicorns/feature/add_repo_mirroring
Browse files Browse the repository at this point in the history
Add local repo mirroring to zarf-init package.
  • Loading branch information
jeff-mccoy authored Sep 15, 2021
2 parents 18d30aa + 43dd129 commit a74caba
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/misc/registries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mirrors:
registry.dso.mil:
endpoint:
- "https://zarf.localhost"
registry1.dso.mil:
endpoint:
- "https://zarf.localhost"
docker.io:
endpoint:
- "https://zarf.localhost"
registry-1.docker.io:
endpoint:
- "https://zarf.localhost"
2 changes: 2 additions & 0 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ local:
executable: true
- source: assets/scripts/k3s.service
target: "/etc/systemd/system/k3s.service"
- source: assets/misc/registries.yaml
target: "/etc/rancher/k3s/registries.yaml"

images:
# K3s images
Expand Down

0 comments on commit a74caba

Please sign in to comment.