Deploy custom resources via Helm
define any custom resources in a file and use the templatefile function to include it in the values section of the helm release.
This allows you to apply custom resources in the same step as the custom resource definition.
eg. Karpenter Controller and Karpenter NodePools / EC2NodeClass can be appled without the need for the kubectl provider
resource "helm_release" "app" {
chart = "https://dnd-it.github.io/helm-charts/custom-resources"
values = [
templatefile("node-pool.yaml")
]
set {
name = "spec.limits.cpu"
value = "100"
}
}
| Name | Url | |
|---|---|---|
| DAI | dai@tamedia.ch |
Autogenerated from chart metadata using helm-docs v1.13.1