From 58b7f23bfde1128b27693458baea5460baeee040 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Jun 2023 16:43:48 +0000 Subject: [PATCH 1/3] Update Terraform kubernetes to v2.21.1 --- modules/kubernetes-clusterip/main.tf | 2 +- modules/kubernetes-nodeport/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kubernetes-clusterip/main.tf b/modules/kubernetes-clusterip/main.tf index bf303d6..48119e7 100644 --- a/modules/kubernetes-clusterip/main.tf +++ b/modules/kubernetes-clusterip/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { kubernetes = { source = "hashicorp/kubernetes" - version = "2.20.0" + version = "2.21.1" } } } diff --git a/modules/kubernetes-nodeport/main.tf b/modules/kubernetes-nodeport/main.tf index 4558ce2..1d23428 100644 --- a/modules/kubernetes-nodeport/main.tf +++ b/modules/kubernetes-nodeport/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { kubernetes = { source = "hashicorp/kubernetes" - version = "2.20.0" + version = "2.21.1" } } } From f2d6402abda69c880a823f6f4b18a03aea265130 Mon Sep 17 00:00:00 2001 From: Daniel Matthews Date: Fri, 16 Jun 2023 13:49:53 +0100 Subject: [PATCH 2/3] Pass `-upgrade` flag to terraform validate hook. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d11fc8..e9476cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,8 @@ repos: args: - --args=--module - id: terraform_validate + args: + - --tf-init-args=-upgrade - repo: https://github.com/aquasecurity/tfsec rev: v1.28.1 hooks: From cbae97dbcf85f8bcf0fcfb2fa12a4e07c31817e3 Mon Sep 17 00:00:00 2001 From: Daniel Matthews Date: Fri, 16 Jun 2023 13:50:13 +0100 Subject: [PATCH 3/3] Update kubernetes version. --- modules/kubernetes-clusterip/README.md | 6 +++--- modules/kubernetes-nodeport/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/kubernetes-clusterip/README.md b/modules/kubernetes-clusterip/README.md index 587c62a..b07907c 100644 --- a/modules/kubernetes-clusterip/README.md +++ b/modules/kubernetes-clusterip/README.md @@ -4,13 +4,13 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [kubernetes](#requirement\_kubernetes) | 2.20.0 | +| [kubernetes](#requirement\_kubernetes) | 2.21.1 | ## Providers | Name | Version | |------|---------| -| [kubernetes](#provider\_kubernetes) | 2.20.0 | +| [kubernetes](#provider\_kubernetes) | 2.21.1 | ## Modules @@ -20,7 +20,7 @@ No modules. | Name | Type | |------|------| -| [kubernetes_service.clusterip](https://registry.terraform.io/providers/hashicorp/kubernetes/2.20.0/docs/resources/service) | resource | +| [kubernetes_service.clusterip](https://registry.terraform.io/providers/hashicorp/kubernetes/2.21.1/docs/resources/service) | resource | ## Inputs diff --git a/modules/kubernetes-nodeport/README.md b/modules/kubernetes-nodeport/README.md index a6f02a8..85e6a63 100644 --- a/modules/kubernetes-nodeport/README.md +++ b/modules/kubernetes-nodeport/README.md @@ -4,13 +4,13 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [kubernetes](#requirement\_kubernetes) | 2.20.0 | +| [kubernetes](#requirement\_kubernetes) | 2.21.1 | ## Providers | Name | Version | |------|---------| -| [kubernetes](#provider\_kubernetes) | 2.20.0 | +| [kubernetes](#provider\_kubernetes) | 2.21.1 | ## Modules @@ -20,7 +20,7 @@ No modules. | Name | Type | |------|------| -| [kubernetes_service.nodeport](https://registry.terraform.io/providers/hashicorp/kubernetes/2.20.0/docs/resources/service) | resource | +| [kubernetes_service.nodeport](https://registry.terraform.io/providers/hashicorp/kubernetes/2.21.1/docs/resources/service) | resource | ## Inputs