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

Raise an error if helm input is compiled twice #781

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

laserb
Copy link
Contributor

@laserb laserb commented Aug 23, 2021

If an input path is found more than once in the search paths.
Then the second compilation will be wrong,
because the helm values were reset after the first compilation.
See: https://github.com/kapicorp/kapitan/blob/master/kapitan/inputs/helm.py#L87-L89

At least raise an exception if this happens.

The second compilation will be wrong,
because the helm values were reset after the first compilation.
@ramaro
Copy link
Member

ramaro commented Oct 30, 2021

@laserb good point! Thank you.

@ramaro ramaro merged commit c2917b6 into kapicorp:master Oct 30, 2021
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

Successfully merging this pull request may close these issues.

2 participants