blue-horse-28536
12/05/2025, 11:03 AMprovision:
- mode: system
script: |
#!/bin/sh
set -eux
mkdir -p /etc/rancher/k3s
cat <<'EOF' >/etc/rancher/k3s/registries.yaml
mirrors:
registry.gitlab.com:
endpoint:
- <https://registry.gitlab.com/v2>
configs:
registry.gitlab.com:
auth:
username: xxx
password: glpat-xxx
EOF
I still get errpull 403 when pulling an image of kind :
<http://registry.gitlab.com/company/app/app:1.0.0-beta.latest|registry.gitlab.com/company/app/app:1.0.0-beta.latest>
doing docker login registry.gitlab.com and entering user glpat works.
What am i doing wrong or missing ?