我是这样配置的,不知道是否能帮到你!
root@R430 /e/r/k3s# cat registries.yaml
mirrors:
harbor.horon.top:
endpoint:
- "https://harbor.horon.top:8089"
configs:
"harbor.horon.top:8089":
auth:
username: admin
password: horon63163798
tls:
cert_file: /opt/harbor/certs.d/harbor.horon.top.cert
key_file: /opt/harbor/certs.d/harbor.horon.top.key
ca_file: /opt/harbor/certs.d/ca.crt