Releases: cloudposse-terraform-components/aws-eks-karpenter-node-pool
v2.0.0
Karpenter V1 API Support @milldr (#36)
## Breaking Change!This upgrade takes both API versions from v1beta1
to v1
and therefore requires karpenter
>= 1
what
- Support Karpenter v1
why
- We should be using the latest version of Karpenter.
v1
in karpenter introduced a few changes that we need to handle with the ec2 node class and node pool manifests
references
Summary by CodeRabbit
-
New Features
- Introduced flexible AMI selection for node pools using the new
ami_selector_terms
field, replacing the previousami_family
approach. - Added support for specifying disruption budget reasons in node pool configurations.
- Introduced flexible AMI selection for node pools using the new
-
Improvements
- Updated Karpenter API versions and manifest schemas to align with the latest standards.
- Enhanced documentation and examples to reflect new configuration options and updated URLs.
- Increased AWS provider version constraint for improved compatibility.
- Upgraded component and Helm chart versions for dependencies.
-
Bug Fixes
- Minor formatting and indentation corrections in documentation and configuration files.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#39)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
v1.536.1
chore(deps): restrict aws provider version to < 6.0.0 @Benbentwo (#32)
This pull request includes a version constraint update for the AWS provider in the Terraform configuration file `src/versions.tf`. The change ensures compatibility with versions up to but not including 6.0.0.src/versions.tf
: Updated the version constraint for theaws
provider to>= 4.9.0, < 6.0.0
to ensure compatibility with future versions while avoiding potential breaking changes in version 6.0.0.
Summary by CodeRabbit
- Chores
- Updated AWS provider version constraints to allow only versions between 4.9.0 (inclusive) and 6.0.0 (exclusive) for improved compatibility.
- Upgraded the version of the "eks/karpenter-controller" component to enhance system reliability.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#38)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
v1.536.0
chore(deps): restrict helm provider version to ~ 2.0.0 @Benbentwo (#33)
This pull request includes a version constraint update for the Helm provider in the Terraform configuration file `src/versions.tf`. The change ensures compatibility with versions up to but not including 3.0.0.🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#35)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
Enable merge queue @goruha (#31)
## what - Added `auto-merge` workflow - Update `settings.yaml` - Fix CodeOwners fileswhy
- Support auto merge PRs
- Create merge queue
- Implement new CodeOwners policy
Enable merge queue @goruha (#30)
## what - Added `auto-merge` workflow - Update `settings.yaml` - Fix CodeOwners fileswhy
- Support auto merge PRs
- Create merge queue
- Implement new CodeOwners policy
chore(deps): bump golang.org/x/net from 0.35.0 to 0.38.0 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#22)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.38.0.Commits
e1fcd82
html: properly handle trailing solidus in unquoted attribute value in foreign...ebed060
internal/http3: fix build of tests with GOEXPERIMENT=nosynctest1f1fa29
publicsuffix: regenerate table1215081
http2: improve error when server sends HTTP/1312450e
html: ensure <search> tag closes <p> and update tests09731f9
http2: improve handling of lost PING in Server55989e2
http2/h2c: use ResponseController for hijacking connections2914f46
websocket: re-recommend gorilla/websocket99b3ae0
go.mod: update golang.org/x dependencies85d1d54
go.mod: update golang.org/x dependencies- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.40.0 @[renovate[bot]](https://github.com/apps/renovate) (#4)
This PR contains the following updates:Package | Type | Update | Change |
---|---|---|---|
terraform-linters/tflint-ruleset-aws | plugin | minor | 0.23.1 -> 0.40.0 |
Release Notes
terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)
v0.40.0
What's Changed
Enhancements
- feat: warn against data sources with ephemeral alternatives by @aristosvo in https://github.com/terraform-linters/tflint-ruleset-aws/pull/861
- rules: Update Lambda deprecated runtimes by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/886
- Update AWS provider/module and generated content by @github-actions in https://github.com/terraform-linters/tflint-ruleset-aws/pull/870
Chores
- Bump sigstore/cosign-installer from 3.8.1 to 3.8.2 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/872
- Bump the aws-sdk group with 3 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/873
- Bump actions/attest-build-provenance from 2.2.3 to 2.3.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/874
- Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.212.0 to 1.213.0 in the aws-sdk group by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/875
- docs: Rename aws_write_only_attributes.md -> aws_write_only_arguments.md by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/876
- Bump actions/setup-go from 5.4.0 to 5.5.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/877
- Bump golang.org/x/net from 0.39.0 to 0.40.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/879
- Bump the aws-sdk group with 2 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/878
- Bump github.com/zclconf/go-cty from 1.16.2 to 1.16.3 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/883
- Bump the aws-sdk group with 3 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/882
- Bump github.com/hashicorp/terraform-json from 0.24.0 to 0.25.0 by @dependabot in [https://github.com/terraform-linters/tflint-ruleset-aws/pull/884](https://redirect.github.com/terraform-linters/tflin...
v1.535.2
fix: address continual drift in karpenter node pool taints @RoseSecurity (#19)
## Why- Kubernetes API modifies taints dynamically.
computed_fields
explicitly marks taints as managed by Kubernetes, preventing Terraform from tracking changes while still allowing updates.- Avoids Terraform drift issues without completely ignoring changes via ignore_changes.
- Ensures Karpenter can dynamically manage taints without Terraform interfering.
- This change addresses the following drift:
# kubernetes_manifest.node_pool["atomic-low-disk-io"] will be updated in-place
~ resource "kubernetes_manifest" "node_pool" {
~ object = {
~ spec = {
~ template = {
~ spec = {
~ taints = [
{
effect = "NoSchedule"
key = "test.co/atomic-tasks"
timeAdded = null
value = "short"
},
~ {
+ value = (known after apply)
# (3 unchanged attributes hidden)
},
]
# (5 unchanged attributes hidden)
}
# (1 unchanged attribute hidden)
}
# (3 unchanged attributes hidden)
}
# (3 unchanged attributes hidden)
}
# (1 unchanged attribute hidden)
}
[!IMPORTANT]
The first apply after this change will show resources being added to state before no changes are detected in future runs
What
- Added
computed_fields
attribute to thekubernetes_manifest
resource to markspec.template.spec.taints
as managed by Kubernetes, which helps avoid continual drift detection.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update
Usage
atmos terraform plan eks/karpenter-node-pool -s <stack>
Testing
- Validated with
atmos validate stacks
- Performed successful
atmos terraform apply
on component
References
Summary by CodeRabbit
- New Features
- Introduced a new configuration enhancement for Kubernetes-managed resources that improves drift detection by automatically aligning taint settings with Kubernetes’ control. This update offers a more predictable and stable deployment experience.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#20)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
v1.535.1
Add component tests @goruha (#16)
# What * [x] Add `basic` component test * [x] Add `disabled` component test * [x] Test component drifting * [ ] Add any additional use case testsWhy
- Test basic component features
- Verify that the component does not create any resources when input
enabled: false
set - Verify that the component does not drift on a second run with the same inputs
- Add test for any additional than basic use cases for the component
References
Summary by CodeRabbit
-
Refactor
- Streamlined infrastructure role assignment to simplify deployment logic.
-
New Features
- Introduced several new configuration files enhancing cloud infrastructure management for clusters, node pools, networking, and vendor integrations.
- Added a flexible CLI configuration for customized deployments.
-
Tests
- Launched an expanded test suite to validate deployment behavior and resource provisioning.
-
Chores
- Upgraded remote state versions, improved dependency management, updated ignore rules, and removed an obsolete test script.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#18)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates