Skip to content

Add skip tls verify option to kaniko builder#2976

Merged
priyawadhwa merged 3 commits intoGoogleContainerTools:masterfrom
priyawadhwa:tls
Oct 3, 2019
Merged

Add skip tls verify option to kaniko builder#2976
priyawadhwa merged 3 commits intoGoogleContainerTools:masterfrom
priyawadhwa:tls

Conversation

@priyawadhwa
Copy link
Copy Markdown
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
Copy Markdown

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%) ⬆️

@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