Add CRI-O registry config for private images and Tailscale mirror
- Add direct access config for host.containers.internal:5050 (insecure) - Add mirror config for registry.tail8d86e.ts.net -> host.containers.internal:5050 - Revert statefulset to use registry.tail8d86e.ts.net (cleaner, if mirror works) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3ab67dd222
commit
e2fd274ba9
2 changed files with 17 additions and 2 deletions
|
|
@ -2,6 +2,22 @@
|
|||
# Uses host.containers.internal which is stable across restarts
|
||||
# Applied by ansible minikube role
|
||||
|
||||
# Direct access to Zot for private images (blumeops/*)
|
||||
[[registry]]
|
||||
prefix = "host.containers.internal:5050"
|
||||
location = "host.containers.internal:5050"
|
||||
insecure = true
|
||||
|
||||
# Tailscale hostname for Zot - redirects to local access
|
||||
# Allows manifests to use registry.tail8d86e.ts.net which is cleaner
|
||||
[[registry]]
|
||||
prefix = "registry.tail8d86e.ts.net"
|
||||
location = "registry.tail8d86e.ts.net"
|
||||
|
||||
[[registry.mirror]]
|
||||
location = "host.containers.internal:5050"
|
||||
insecure = true
|
||||
|
||||
[[registry]]
|
||||
prefix = "docker.io"
|
||||
location = "docker.io"
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@ spec:
|
|||
fsGroup: 1000
|
||||
containers:
|
||||
- name: devpi
|
||||
# Use host.containers.internal for minikube's CRI-O to reach Zot on indri
|
||||
image: host.containers.internal:5050/blumeops/devpi:latest
|
||||
image: registry.tail8d86e.ts.net/blumeops/devpi:latest
|
||||
args:
|
||||
- "--serverdir"
|
||||
- "/devpi"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue