Skip to content

Commit 19aea98

Browse files
authored
Sync karpenter chart values with the schema (cloudposse/terraform-aws-components#535)
1 parent 67f29e1 commit 19aea98

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,13 @@ module "karpenter" {
109109
}),
110110
# karpenter-specific values
111111
yamlencode({
112-
aws = {
113-
defaultInstanceProfile = one(aws_iam_instance_profile.default[*].name)
112+
settings = {
113+
aws = {
114+
defaultInstanceProfile = one(aws_iam_instance_profile.default[*].name)
115+
clusterName = local.eks_cluster_id
116+
clusterEndpoint = local.eks_cluster_endpoint
117+
}
114118
}
115-
clusterName = local.eks_cluster_id
116-
clusterEndpoint = local.eks_cluster_endpoint
117119
}),
118120
# additional values
119121
yamlencode(var.chart_values)

0 commit comments

Comments
 (0)