alibaba / SREWorks

Cloud Native DataOps & AIOps Platform | 云原生数智运维平台
https://sreworks.cn
Apache License 2.0
1.82k stars 404 forks source link

How to config self-signed certificate of Harbor docker registry for Kaniko image building #230

Closed wknet123 closed 1 year ago

wknet123 commented 1 year ago

====container:appmanager-build-app20230616-codebase-codebase-69-1686900117827==== -log:INFO[0000] GET KEYCHAIN
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "harbor.dev.21vianet.com/srebuilds/app20230616-codebase-codebase:1686900117827": creating push check transport for harbor.dev.21vianet.com failed: Get "https://harbor.dev.21vianet.com/v2/": x509: certificate signed by unknown authority

Twwy commented 1 year ago

https://github.com/alibaba/SREWorks/blob/master/chart/sreworks-chart/values.yaml#L146

在这个位置可以配置docker的账号密码

在部署的时候就可以传进去

参考文档 https://www.yuque.com/sreworks-doc/docs/mzz07m#XFCPL