Skip to content

Comments

Allow overrides of helm chart values and resource definitions#39

Open
abierbaum wants to merge 4 commits intorobertd:mainfrom
abierbaum:allow_overrides
Open

Allow overrides of helm chart values and resource definitions#39
abierbaum wants to merge 4 commits intorobertd:mainfrom
abierbaum:allow_overrides

Conversation

@abierbaum
Copy link

This is a rough PR for allowing overrides with the Karpenter CDK construct. I needed this so I can manually adjust the values sent to Helm and add more settings to the Karpenter resources.

I am looking for feedback on this PR.

Notes:

  • I used lodash to have a deep merge for the Helm values.

I did this because lodash was already being pulled in for some of the internal dependencies and I thought that may be a good way to get it in. I am open to any other options you may want on this depdendency.

  • I have not been able to test this in my actual project

I tried to use yarn link but something about the construct and cdk dependencies is preventing my CDK application from running against this package. If you have any recommendations for the best development practices to use here, I am open to any ideas.

@robertd
Copy link
Owner

robertd commented Mar 6, 2023

@abierbaum I just bumped karpenter to v0.26.1. If you could rebase your PR that'd help me review it faster. Thanks.

@abierbaum
Copy link
Author

@robertd I am looking back at this again. What do you think about the concept in general, specifically the finalizeProvisioner callback to allow users to override custom items?

@robertd
Copy link
Owner

robertd commented Feb 17, 2024

I have to come back to this at some point... life's been busy lately. :(

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