-
Notifications
You must be signed in to change notification settings - Fork 136
Dry run option #145
Comments
Yeah it would be nice to have the option for a dry-run, but I wonder if that would be nicer to just be able to pass on at the end of |
I would rather not modify a BUILD file to get this to run ... |
Definitely not expecting to modify BUILD file every time you want to turn dry runs on/off. The original idea was to connect the arg to a make variable, but I do like @Globegitter's idea. |
Oh and there's a new dry-run feature coming in kubectl |
This PR will allow us to pass in arbitrary commands #174 Would that help us out?? |
Yep #174 could indeed fix the issue - I left a comment: #174 (comment) as the |
Can we override arg in a build file rather than a $@? |
@chrislovecnm I just mentioned it in #209 if we name the attribute |
Closing, as we have this in master now |
I'm wondering if there's interest (or opposition) to an optional parameter to k8s_object that would set the
--dry-run
flag to kubectl. This flag would be useful to validate your objects early in a long-running pipeline, so you don't have to wait until all your infrastructure is up only to find out you have malformed YAML or JSON.The text was updated successfully, but these errors were encountered: