New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持任何V2版本的Registry作为镜像仓库 #37
Conversation
2. support insecure & secure registry endpoint 3. change 'harbor' to 'registry'
未解决项:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pertty good, very thanks @sampsonye
Command := fmt.Sprintf("sh \"cd %v; export DOCKER_CONFIG=$DOCKER_CONFIG; /kaniko/executor -f %v -c ./ -d %v --insecure --skip-tls-verify --insecure-pull \"", appPath, dockerfile, imageURL) | ||
var insecure = "" | ||
if isHttps, _ := strconv.ParseBool(deployInfo[3]); !isHttps { | ||
insecure = "--insecure --skip-tls-verify --insecure-pull" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对于 推送仓库是https, 但是from
却是 非安全的场景,还是不能满足
After I fix the issue of upgrade script, it will be merged |
通过创建临时存储过程的方式实现了表变更可以重复执行 |
0da288c
to
218e39a
Compare
Which changes (Bug/Feature):
Fixes #6
Special notes for reviewers:
Attention
this pr need init.sh support