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

Skip secret creation/check #2783

Merged
merged 1 commit into from
Sep 4, 2019
Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Sep 2, 2019

It's now possible for the users to skip the creation/check for an in-cluster secret.

Fix #2768

@codecov
Copy link

codecov bot commented Sep 2, 2019

Codecov Report

Merging #2783 into master will increase coverage by 0.21%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/build/cluster/secret.go 36.2% <100%> (+36.2%) ⬆️

@dgageot dgageot force-pushed the skip-secret branch 2 times, most recently from c87f62c to 0d5582e Compare September 3, 2019 17:43
Copy link
Contributor

@tejal29 tejal29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we break this on 2

  • the code changes for secret creation
  • replacing kubernetes.GetClientset() call everywhere

Thanks
Tejal

@dgageot
Copy link
Contributor Author

dgageot commented Sep 3, 2019

@tejal29 First PR for the refactoring part: #2796

@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Sep 4, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Sep 4, 2019
@dgageot
Copy link
Contributor Author

dgageot commented Sep 4, 2019

@tejal29 Now, this PR only contains the code changes for secret creation

@dgageot dgageot force-pushed the skip-secret branch 3 times, most recently from 7189721 to b01d05a Compare September 4, 2019 15:48
Fixes GoogleContainerTools#2768

Signed-off-by: David Gageot <david@gageot.net>
@tejal29
Copy link
Contributor

tejal29 commented Sep 4, 2019

Shd we close #2321, i this PR is dupe of what @prary was trying to do.

@tejal29 tejal29 merged commit 9528041 into GoogleContainerTools:master Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom cluster builder tries to retrieve kaniko secret
5 participants