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

Default environment values in Carvel or being discarded when any environment is provided by user #5692

Open
corneil opened this issue Feb 21, 2024 · 0 comments
Assignees

Comments

@corneil
Copy link
Contributor

corneil commented Feb 21, 2024

Problem description:
The default values for the kubernetes environment are discarded when a user provides a value for environmentVariables.

Solution description:
Since the value is a single property in YAML and a comma separated list of key=value pairs the user provided value overrides the defaults.
The solution is to provide a separate property for user provided environment variables that can be appended to the default environment and then assign to the property.

@corneil corneil self-assigned this Feb 21, 2024
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

No branches or pull requests

1 participant