-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
25.10Planned for the 25.10 cyclePlanned for the 25.10 cyclefeatureA feature requestA feature requestsmall itemA small item, for some value of "small"A small item, for some value of "small"
Description
In some CI regions, access to external image registries such as docker is restricted.
One concrete example is the PS7 region for Canonical self hosted GitHub runners.
When running in that region, initialization of the microk8s provider fails and hangs indefinitely (fix provided in #74).
In that region, the environment variable DOCKERHUB_MIRROR
provides a URL to a local registry.
If we set this up manually, following the instructions in the microk8s documentation, the setup succeeds:
sudo snap install microk8s --channel 1.32-strict/stable
sudo mkdir -p /var/snap/microk8s/current/args/certs.d/docker.io
cat <<EOF | sudo tee /var/snap/microk8s/current/args/certs.d/docker.io/hosts.toml
server = "$DOCKERHUB_MIRROR"
[host."$DOCKERHUB_MIRROR"]
capabilities = ["pull", "resolve"]
EOF
sudo microk8s stop
sudo microk8s start
Currently concierge will install the snap and immediately wait for setup to succeed, which does not allow for the end user to interject image registry configuration.
To me this suggests that concierge needs to handle this type of setup.
Metadata
Metadata
Assignees
Labels
25.10Planned for the 25.10 cyclePlanned for the 25.10 cyclefeatureA feature requestA feature requestsmall itemA small item, for some value of "small"A small item, for some value of "small"