Skip to content
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

Add skip tls verify option to kaniko builder #2976

Merged
merged 3 commits into from
Oct 3, 2019

Conversation

priyawadhwa
Copy link
Contributor

Relates to in case of new feature, this should point to issue/(s) which describes the feature

Should resolve #1961

Description

I was able to recreate the error in #1961 by using a kaniko image
without a cert & pushing to an unauthenticated registry in Cloud Run.

Adding this flag resolves that bug.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Mentions any output changes.
  • Adds documentation as needed: user docs, YAML reference, CLI reference.
  • Adds integration tests if needed.

See the contribution guide for more details.

Double check this list of stuff that's easy to miss:

Reviewer Notes

  • The code flow looks good.
  • Unit test added.
  • User facing changes look good.

I was able to recreate the error in GoogleContainerTools#1961 by using a kaniko image
without a cert & pushing to an unauthenticated registry in Cloud Run.

Adding this flag resolves that bug.
@codecov
Copy link

codecov bot commented Oct 3, 2019

Codecov Report

Merging #2976 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/schema/latest/config.go 100% <ø> (ø) ⬆️
pkg/skaffold/build/cluster/kaniko.go 53.24% <100%> (+6.97%) ⬆️

pkg/skaffold/build/cluster/kaniko_test.go Show resolved Hide resolved
pkg/skaffold/build/cluster/kaniko_test.go Outdated Show resolved Hide resolved
@priyawadhwa priyawadhwa merged commit 13ece64 into GoogleContainerTools:master Oct 3, 2019
@priyawadhwa priyawadhwa deleted the tls branch October 3, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x509: certificate signed by unknown authority
3 participants