-
Notifications
You must be signed in to change notification settings - Fork 2
feat(pkg/commands): add support for build secrets #30
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
Conversation
mafredri
left a comment
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.
Congrats on diving into Kaniko and nice work implementing this!
mafredri
left a comment
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.
A few remaining suggestions and I think testing could be improved a bit but otherwise it's looking good.
mafredri
left a comment
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.
Looks good, a few minor things still, but once those are fixed this is ready to go!
johnstcn
left a comment
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.
Nice work! I don't have anything that Mathias hasn't already pointed out.
Description
This PR adds support for build secrets to kaniko. Because the --secret flag is not available to
docker run, it sources them from environment variables prefixed with KANIKO_BUILD_SECRET.These build secrets are also accessible in the kaniko options struct. A PR is inbound to provide them and make this feature available from envbuilder.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
Release Notes
Describe any changes here so maintainer can include it in the release notes, or delete this block.