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 flag to allow setting --ignore-var-run to false #191

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

zahradtj
Copy link
Contributor

When building docker images, we stumbled upon a scenario where we needed to control /var/run in our output image. In the interest of not adding a flag to every build, I inverted the option to be include_var_run which then sets the --ignore-var-run=false flag.

I built the plugin locally and tested in Vela and verified that the option does work as intended.

CC @kewegmey

@zahradtj zahradtj requested a review from a team as a code owner March 20, 2024 20:56
ecrupper
ecrupper previously approved these changes Mar 25, 2024
Copy link
Contributor

@ecrupper ecrupper left a comment

Choose a reason for hiding this comment

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

Nice — thanks!

cmd/vela-kaniko/main.go Outdated Show resolved Hide resolved
Copy link
Contributor

@plyr4 plyr4 left a comment

Choose a reason for hiding this comment

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

epic, thank you

@ecrupper ecrupper merged commit a506d17 into go-vela:main Mar 28, 2024
7 checks passed
@zahradtj zahradtj deleted the flag_ignore-var-run branch March 28, 2024 14:33
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