https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
a

adamant-kite-43734

10/04/2022, 1:57 PM
This message was deleted.
b

better-nail-51710

10/04/2022, 2:14 PM
w

wide-mechanic-33041

10/04/2022, 2:15 PM
sorry yeah needed more coffee and forgot to thread the reply
b

better-nail-51710

10/04/2022, 2:15 PM
no problem 🙂
w

wide-mechanic-33041

10/04/2022, 2:17 PM
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

better-nail-51710

10/04/2022, 2:20 PM
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

wide-mechanic-33041

10/04/2022, 2:21 PM
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
9 Views