This message was deleted.
# rancher-desktop
a
This message was deleted.
b
w
sorry yeah needed more coffee and forgot to thread the reply
b
no problem 🙂
w
i have i haven’t used the command line version
Copy code
kubectl create secret generic ips --from-file=.dockerconfigjson=.docker/config.json --type=<http://kubernetes.io/dockerconfigjson|kubernetes.io/dockerconfigjson>
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "ips"}]}'
worked for me
b
Seems there is no other way to add a private registry to rancher Desktop on Apple M1 (and the issue is still open): https://github.com/rancher-sandbox/rancher-desktop/issues/721
w
yeah i didn’t override the registry.yaml myself. i just used the registry/image format w a service account scoped pullsecret and i was off to the races. been a while since i tested it though