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 func to append to ignorelist #1397

Merged
merged 1 commit into from Aug 28, 2020

Conversation

jkutner
Copy link
Contributor

@jkutner jkutner commented Aug 25, 2020

Description

Adds a AddToIgnoreList func to util package.

This allows those using Kaniko as a library to add ignored dirs and files without needs to modify /proc/self/mountinfo or doing other strange things with mount -t tmpfs
Submitter Checklist

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

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

@googlebot googlebot added the cla: yes CLA signed by all commit authors label Aug 25, 2020
This allows those using Kaniko as a library to add ignored dirs and
files without needs to modify /proc/self/mountinfo or doing other
strange things with mount -t tmpfs
@tejal29
Copy link
Member

tejal29 commented Aug 28, 2020

Thanks @jkutner. Very curious to know which tool is using kaniko as a library.

@tejal29 tejal29 merged commit f20f495 into GoogleContainerTools:master Aug 28, 2020
@jkutner
Copy link
Contributor Author

jkutner commented Aug 28, 2020

@tejal29 We're prototyping a new feature in Cloud Native Buildpacks that will use kaniko snapshotting under the hood. I'd be happy to chat about it in more detail (you can ping me on our slack or via email).

I really appreciate your support in accepting this changes. kaniko is working really well for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes CLA signed by all commit authors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants