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

Support ~ in secret path for Kaniko #455

Merged
merged 1 commit into from
May 16, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Apr 24, 2018

Signed-off-by: David Gageot david@gageot.net


absPath, err := homedir.Expand(cfg.Build.KanikoBuild.PullSecret)
if err != nil {
logrus.Errorln("unable to expand pullSecret", cfg.Build.KanikoBuild.PullSecret)
Copy link
Contributor

Choose a reason for hiding this comment

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

It makes the default code a bit uglier, but ApplyProfiles returns an error so we can return a real error here instead of logrus.Errorln

@dgageot
Copy link
Contributor Author

dgageot commented Apr 27, 2018

@r2d4 I fixed the code based on your feedback!

@dgageot dgageot force-pushed the kaniko-home branch 6 times, most recently from e6ebd5e to 7f9f7e2 Compare May 11, 2018 17:04
@dgageot dgageot force-pushed the kaniko-home branch 4 times, most recently from 5384c2d to 727d203 Compare May 16, 2018 08:24
Signed-off-by: David Gageot <david@gageot.net>
@tejal29 tejal29 merged commit 762c3ad into GoogleContainerTools:master May 16, 2018
@dgageot dgageot deleted the kaniko-home branch May 29, 2018 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants