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

Error: unknown flag: --additional-whitelist #1006

Closed
marekaf opened this issue Jan 28, 2020 · 2 comments
Closed

Error: unknown flag: --additional-whitelist #1006

marekaf opened this issue Jan 28, 2020 · 2 comments

Comments

@marekaf
Copy link

marekaf commented Jan 28, 2020

Actual behavior
--additional-whitelist was added and removed short after that from the gcr.io/kaniko-project/executor:debug-v0.16.0 image

Expected behavior
Succesful push

To Reproduce
Steps to reproduce the behavior:

 $ /kaniko/executor --verbosity=debug --cache=true --context . --dockerfile Dockerfile-kaniko --additional-whitelist=/var/run --destination SOME_DESTINATION
 Error: unknown flag: --additional-whitelist

To maintainers
thanks for all the great work on kaniko!

Description Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile
@tejal29
Copy link
Contributor

tejal29 commented Jan 28, 2020

@marekaf, The --additional-whitelist flag was not supposed to be released in :debug. We have now fixed our release pipeline to not update the debug tag on every push to master.

Please remove it from your command.
Sorry for the confusion.

We are going to add this feature in next release :debug-v0.17.0.

@tejal29
Copy link
Contributor

tejal29 commented Jan 28, 2020

--additional-whitelist=/var/run is now going to be replaced with --whitelist-var-run

@tejal29 tejal29 closed this as completed Jan 28, 2020
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

No branches or pull requests

2 participants