-
Notifications
You must be signed in to change notification settings - Fork 174
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 a CLI flag to override the custom Zarf variables #489
Comments
When this feature request was being discussed, it was pointed out that this feature would make it a lot easier to to rotate around passwords and certs of deployed packages. |
I think https://www.terraform.io/language/values/variables#variable-definition-precedence has a lot of well-established patterns around doing runtime based variable overrides. |
Lol. We were just discussing the need for this exact feature again today on my team. I had even searched the open issues earlier this morning before this was written. I'd love to see this feature implemented as it would save having to repackage just to change some variables and eliminate the need to maintain different packages for different targets where the only difference is a few variables too. +1 |
@jeff-mccoy this you have access to this, I'll be finding the appropriate ones for a zarf initial set of modules and open source that repo |
Right now we can define custom variables for the components that gets templated to the manifests/helm charts that the component uses. Currently, the value has to be defined in the zarf.yaml when the package is built.
An example of custom component variables is in this example
It would be very useful to be able to provide the values for the custom variables during runtime. Something like
zarf package deploy --values dog=woof2
.The text was updated successfully, but these errors were encountered: