RKE2 配置私有镜像仓库免 TLS 验证
打开文件
vim /etc/rancher/rke2/registries.yaml
添加以下配置:
mirrors:
registry.example.com:
endpoint:
- "registry.example.com:1134"
configs:
"registry.example.com:1134":
tls:
insecure_skip_verify: true
打开文件
vim /etc/rancher/rke2/registries.yaml
添加以下配置:
mirrors:
registry.example.com:
endpoint:
- "registry.example.com:1134"
configs:
"registry.example.com:1134":
tls:
insecure_skip_verify: true
发表回复