Skip to content

Commit 6cfb262

Browse files
authored
Add EKS 1.33 (#44)
1 parent 7083e9e commit 6cfb262

File tree

10 files changed

+22
-20
lines changed

10 files changed

+22
-20
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- "keypair"
2323

2424
- repo: https://github.com/antonbabenko/pre-commit-terraform
25-
rev: v1.81.0
25+
rev: v1.83.6
2626
hooks:
2727
- id: terraform_fmt
2828
- id: terraform_docs

aws-quickstart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ OPTIONS:
4040
Destroy the workload and infrastructure.
4141
4242
--kubernetes-version
43-
Kubernetes version to use. This must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32
44-
(default: 1.32).
43+
Kubernetes version to use. This must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33
44+
(default: 1.33).
4545
EOF
4646
}
4747

4848
# Default arguments.
4949
AMI_ID=""
5050
DESTROY=""
51-
KUBERNETES_VERSION="1.32"
51+
KUBERNETES_VERSION="1.33"
5252
XR_USERNAME=""
5353
XR_PASSWORD=""
5454
BASTION_REMOTE_ACCESS_CIDR_BLOCKS=""
@@ -107,8 +107,9 @@ if [ "${KUBERNETES_VERSION}" != "1.26" ] &&
107107
[ "${KUBERNETES_VERSION}" != "1.29" ] &&
108108
[ "${KUBERNETES_VERSION}" != "1.30" ] &&
109109
[ "${KUBERNETES_VERSION}" != "1.31" ] &&
110-
[ "${KUBERNETES_VERSION}" != "1.32" ]; then
111-
>&2 echo "error: Kubernetes version (--kubernetes-version) must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32"
110+
[ "${KUBERNETES_VERSION}" != "1.32" ] &&
111+
[ "${KUBERNETES_VERSION}" != "1.33" ]; then
112+
>&2 echo "error: Kubernetes version (--kubernetes-version) must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33"
112113
ERROR=1
113114
fi
114115

examples/bootstrap/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ When you are finished, make sure you first destroy any other configurations laye
2626
terraform destroy
2727
```
2828

29-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
29+
<!-- BEGIN_TF_DOCS -->
3030
## Requirements
3131

3232
| Name | Version |
@@ -42,12 +42,12 @@ terraform destroy
4242
|------|-------------|------|---------|:--------:|
4343
| <a name="input_azs"></a> [azs](#input\_azs) | List of exactly two availability zones in the currently configured AWS region.<br>A private subnet and a public subnet is created in each of these availability zones.<br>Each cluster node is launched in one of the private subnets.<br>If null, then the first two availability zones in the currently configured AWS region is used. | `list(string)` | `null` | no |
4444
| <a name="input_bastion_remote_access_cidr_blocks"></a> [bastion\_remote\_access\_cidr\_blocks](#input\_bastion\_remote\_access\_cidr\_blocks) | Allowed CIDR blocks for external SSH access to the Bastion instance.<br>This must be a list of strings.<br>If null, then access to the Bastion instance is prevented. | `list(string)` | n/a | yes |
45-
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | Cluster version | `string` | `"1.32"` | no |
45+
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | Cluster version | `string` | `"1.33"` | no |
4646
| <a name="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix) | Used as a prefix for the 'Name' tag for each created resource.<br>If null, then a random name 'xrd-terraform-[0-9a-z]{8}' is used. | `string` | `null` | no |
4747

4848
## Outputs
4949

5050
| Name | Description |
5151
|------|-------------|
5252
| <a name="output_bootstrap"></a> [bootstrap](#output\_bootstrap) | Bootstrap module outputs |
53-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
53+
<!-- END_TF_DOCS -->

examples/bootstrap/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ variable "bastion_remote_access_cidr_blocks" {
3535
variable "cluster_version" {
3636
description = "Cluster version"
3737
type = string
38-
default = "1.32"
38+
default = "1.33"
3939
nullable = false
4040
}

examples/overlay/infra/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
1+
<!-- BEGIN_TF_DOCS -->
22
## Requirements
33

44
| Name | Version |
@@ -24,4 +24,4 @@
2424
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
2525
| <a name="output_kubeconfig_path"></a> [kubeconfig\_path](#output\_kubeconfig\_path) | Path to the generated kubeconfig file |
2626
| <a name="output_nodes"></a> [nodes](#output\_nodes) | Map of worker node name to instance ID |
27-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
27+
<!-- END_TF_DOCS -->

examples/overlay/workload/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
1+
<!-- BEGIN_TF_DOCS -->
22
## Requirements
33

44
| Name | Version |
@@ -23,4 +23,4 @@
2323
| Name | Description |
2424
|------|-------------|
2525
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
26-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
26+
<!-- END_TF_DOCS -->

examples/singleton/infra/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
1+
<!-- BEGIN_TF_DOCS -->
22
## Requirements
33

44
| Name | Version |
@@ -23,4 +23,4 @@
2323
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
2424
| <a name="output_kubeconfig_path"></a> [kubeconfig\_path](#output\_kubeconfig\_path) | Path to the generated kubeconfig file |
2525
| <a name="output_node_id"></a> [node\_id](#output\_node\_id) | Instance ID of the single worker node instance |
26-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
26+
<!-- END_TF_DOCS -->

examples/singleton/workload/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
1+
<!-- BEGIN_TF_DOCS -->
22
## Requirements
33

44
| Name | Version |
@@ -24,4 +24,4 @@
2424
| Name | Description |
2525
|------|-------------|
2626
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
27-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
27+
<!-- END_TF_DOCS -->

modules/aws/eks-config/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ terraform {
99

1010
helm = {
1111
source = "hashicorp/helm"
12-
version = ">= 2.9"
12+
version = ">= 2.9, < 3.0"
1313
}
1414

1515
http = {

tests/ut/test_eks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def security_group(ec2: EC2ServiceResource, vpc: Vpc) -> SecurityGroup:
101101
@pytest.fixture
102102
def base_vars(subnet1: Subnet, subnet2: Subnet) -> dict[str, Any]:
103103
return {
104-
"cluster_version": "1.32",
104+
"cluster_version": "1.33",
105105
"name": str(uuid.uuid4()),
106106
"subnet_ids": [subnet1.id, subnet2.id],
107107
}
@@ -130,6 +130,7 @@ def test_defaults(
130130
"1.29",
131131
"1.30",
132132
"1.31",
133+
"1.32",
133134
),
134135
)
135136
def test_cluster_version(

0 commit comments

Comments
 (0)