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

helmChartValues.settings overwritten #162

Open
ApocDev opened this issue Feb 26, 2024 · 1 comment
Open

helmChartValues.settings overwritten #162

ApocDev opened this issue Feb 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ApocDev
Copy link

ApocDev commented Feb 26, 2024

When trying to apply a feature gate value, eg; settings.featureGates.spotToSpotConsolidation, the construct currently overwrites any values because it is not doing a deep merge on objects.

https://github.com/aws-samples/cdk-eks-karpenter/blob/main/src/index.ts#L156-L162

and

https://github.com/aws-samples/cdk-eks-karpenter/blob/main/src/index.ts#L197-L199

@andskli
Copy link
Contributor

andskli commented Mar 18, 2024

Hi @ApocDev, thanks for reporting this. It seems the behavior is undesired. I think what should happen here is that the inverse precedence should happen, i.e. allow helmExtraValues to overwrite what's in helmChartValues. Could you have a look at #168?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants