-
Notifications
You must be signed in to change notification settings - Fork 226
feat(values): Add --set-values and --set-variables flags #4236
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Kit Patella <[email protected]>
…flags to package create,deploy and inspect cmds with --set Signed-off-by: Kit Patella <[email protected]>
…options Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
…tion Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
…m chart value overrides Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
…n using zarf to helm values mappings Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
…than i expected Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
…d ensure value.Extract has unit test coverage Signed-off-by: Kit Patella <[email protected]>
…d rework SetValue parsing and setting into its own function that is also tested. Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
… text file Signed-off-by: Kit Patella <[email protected]>
…emplate - and default to false Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
Signed-off-by: Kit Patella <[email protected]>
…to --set-varibles Signed-off-by: Kit Patella <[email protected]>
✅ Deploy Preview for zarf-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Kit Patella <[email protected]>
| --create-set stringToString [alias for --set-variables] Specify package variables to set on the command line (KEY=value) (default []) | ||
| --deploy-set stringToString [alias for --set-variables] Specify deployment variables to set on the command line (KEY=value) (default []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an unexpected result from changing the other flags. Need to look more into how dev deploy is generated and see about --create-set-variables --deploy-set-variables and --deploy-set-values
Signed-off-by: Kit Patella <[email protected]>
Codecov Report❌ Patch coverage is
... and 8 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Signed-off-by: Kit Patella <[email protected]>
Description
This PR adds the
--set-valuesflag with e2e coverage and examples documentation and adds--set-variableswhich is an alias for the current behavior of--set. The reason for --set-variables is to have logical parity with the new flag, and swap over--setto--set-valuesat some point in the future. This allows us to already have a deprecation path ready for users, and to ensure the flags are self-documenting in the mean time.Do not merge this PR until #4136 is merged into main.
Related Issue
Fixes #4224
Checklist before merging