Added mirror support to avoid hitting remote constantly

This commit is contained in:
2026-05-10 06:12:07 +08:00
parent 075efa3348
commit 603313f736
6 changed files with 357 additions and 44 deletions

View File

@@ -57,3 +57,10 @@ APT_PROXY=
# remote image repository prefix to push to
# e.g. ghcr.io/monok8s
IMAGE_REPOSITORY=
# Mirror
# You can host your local mirror by running (but you'll need to download them first)
# kubectl apply -f devtools/dep-pkg-mirror.yaml
# devtools/push-dep-pkg-mirror.sh
# e.g. http://dep-pkg-mirror.default.svc.cluster.local/monok8s
DEP_PKG_MIRROR=