Skip to content

Commit 56dcda4

Browse files
committed
Prepare for release of v4.0.0.
Closes #10
1 parent bbc11db commit 56dcda4

File tree

9 files changed

+44
-17
lines changed

9 files changed

+44
-17
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
jobs:
99
create_github_release:
1010
name: Create Github Release
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
- name: Determine Version
1616
id: determine_version
1717
shell: bash

.github/workflows/validate.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,18 @@ on:
99
jobs:
1010
validate:
1111
name: Validate Terraform Module
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
13+
strategy:
14+
matrix:
15+
tf_version:
16+
- docker.io/hashicorp/terraform:1.7
17+
- docker.io/hashicorp/terraform:latest
18+
- ghcr.io/opentofu/opentofu:latest
1319
container:
14-
image: docker.io/hashicorp/terraform:0.13.2
20+
image: ${{ matrix.tf_version }}
1521
steps:
1622
- name: git checkout
17-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
1824
- name: Initialize Terraform
1925
run: terraform init -backend=false
2026
- name: Validate Terraform Module Syntax

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/.terraform/
2+
/.terraform.lock.hcl
23
*.tfstate*
34
*.auto.tfvars

.vscode/extensions.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"recommendations": [
33
"davidanson.vscode-markdownlint",
44
"editorconfig.editorconfig",
5-
"mauve.terraform"
6-
5+
"hashicorp.terraform"
76
]
87
}

CHANGELOG.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,31 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.0.0] - 2024-08-12
9+
10+
The source code of the module has been transferred to a new Github organization.
11+
12+
This is the first release that requires at least Terraform 1.7.0.
13+
14+
### Fixed
15+
16+
- Block types within pod template spec `limits` and `requests` have been converted to
17+
arguments, which fixes errors with current versions of the Kubernetes provider plugin.
18+
([#10](https://github.com/qvest-digital/terraform-kubernetes-aws-node-termination-handler/issues/10))
19+
20+
### Changed
21+
22+
- Github organization hosting this module has been changed to [`qvest-digital`](https://github.com/qvest-digital).
23+
- Terraform 1.7.0 or higher is required to use this module.
24+
25+
### Updated
26+
27+
- Default version of the aws-node-termination-handler has been set to v1.22.1.
28+
829
## [3.0.0] - 2020-10-23
930

1031
This is the first release that requires at least Terraform 0.13.0.
11-
The latest compatibiliy releases in the 0.12 series (0.12.29 as this release is being made)
32+
The latest compatibility releases in the 0.12 series (0.12.29 as this release is being made)
1233
might work, but it is no longer officially supported by the module's maintainers.
1334

1435
### Changed
@@ -17,7 +38,7 @@ might work, but it is no longer officially supported by the module's maintainers
1738

1839
### Added
1940

20-
- Webhook configuration options can be specified as input variables. ([#6](https://github.com/iplabs/terraform-kubernetes-aws-node-termination-handler/issues/6))
41+
- Webhook configuration options can be specified as input variables. ([#6](https://github.com/qvest-digital/terraform-kubernetes-aws-node-termination-handler/issues/6))
2142

2243
### Updated
2344

@@ -30,7 +51,7 @@ Thanks for the fix, [Nigel](https://github.com/nigelellis)!
3051
### Fixed
3152

3253
- A bug in the ClusterRoleBinding where the name of the service account and
33-
it's namespace got mixed up, was corrected. ([#5](https://github.com/iplabs/terraform-kubernetes-aws-node-termination-handler/issues/5))
54+
it's namespace got mixed up, was corrected. ([#5](https://github.com/qvest-digital/terraform-kubernetes-aws-node-termination-handler/issues/5))
3455

3556
## [2.1.0] - 2020-09-08
3657

@@ -45,7 +66,7 @@ Thanks for the fix, [Nigel](https://github.com/nigelellis)!
4566

4667
## Fixed
4768

48-
- Specify `host_post` to avoid perpetual diffs. ([#3](https://github.com/iplabs/terraform-kubernetes-aws-node-termination-handler/issues/3))
69+
- Specify `host_post` to avoid perpetual diffs. ([#3](https://github.com/qvest-digital/terraform-kubernetes-aws-node-termination-handler/issues/3))
4970

5071
## [2.0.0] - 2020-07-15
5172

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ snippet might be used.
1212

1313
```hcl
1414
module "aws_node_termination_handler" {
15-
source = "iplabs/aws-node-termination-handler/kubernetes"
16-
version = "2.1.1"
15+
source = "qvest-digital/aws-node-termination-handler/kubernetes"
16+
version = "4.0.0"
1717
}
1818
```

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ resource "kubernetes_daemonset" "this" {
256256
protocol = "TCP"
257257
}
258258
resources {
259-
limits {
259+
limits = {
260260
cpu = "100m"
261261
memory = "128Mi"
262262
}
263-
requests {
263+
requests = {
264264
cpu = "50m"
265265
memory = "64Mi"
266266
}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variable "node_termination_handler_version" {
22
description = "The version to use. See https://github.com/aws/aws-node-termination-handler/releases for available versions"
33
type = string
4-
default = "1.9.0"
4+
default = "1.22.1"
55
}
66

77
variable "ignore_daemon_sets" {

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 0.12.29"
2+
required_version = ">= 1.7.0"
33
required_providers {
44
kubernetes = {
55
source = "hashicorp/kubernetes"

0 commit comments

Comments
 (0)