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

Select different values file during deployment #2159

Open
pam2014 opened this issue Nov 24, 2023 · 1 comment
Open

Select different values file during deployment #2159

pam2014 opened this issue Nov 24, 2023 · 1 comment
Labels
enhancement ✨ New feature or request needs-adr PR Label - Architectural Decision Records required to merge

Comments

@pam2014
Copy link

pam2014 commented Nov 24, 2023

Is your feature request related to a problem? Please describe.

Zarf.yaml requires values file to be pre-defined. I have a use case where i need to use the same images with different configuration files in different environments. I do not want to create separate packages for each enviornment

Describe the solution you'd like

Considering zarf uses helm SDK which provides capability to override values file, can this be made available during zarf package deploy?

Describe alternatives you've considered

Alternate option is to create separate zarf yaml per enviornment and separate packages which i do not want to do as it introduces overheads for product managers

Additional context

Add any other context or screenshots about the feature request here.

@pam2014 pam2014 added the enhancement ✨ New feature or request label Nov 24, 2023
@Racer159
Copy link
Contributor

Racer159 commented Dec 1, 2023

@pam2014 have you looked into using https://docs.zarf.dev/examples/variables/? You have to define the interfaces but can provide options on deploy (settable with config files, --set or interactive prompts).

We have been looking at improving some of the flow between variables and Helm (#2131) but decided earlier in the project to not expose the raw Helm values to reduce the variable surface and thus the chance for user error when packages go into an air gapped environment.

@schristoff-du schristoff-du added the needs-adr PR Label - Architectural Decision Records required to merge label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request needs-adr PR Label - Architectural Decision Records required to merge
Projects
Status: No status
Status: No status
Development

No branches or pull requests

3 participants