Skip to content

Commit dd1e889

Browse files
authored
feat: (PSKD-816) Support K8s 1.31 (#225)
* feat: bumping kubectl version to 1.30 Signed-off-by: chjmil <[email protected]> * fix: Update kubectl download url Signed-off-by: chjmil <[email protected]> * chore: Remove extra trailing space Signed-off-by: chjmil <[email protected]> * fix: Update tflint module call The module config was removed in v0.54. Replace it with call_module_type = "all" Signed-off-by: chjmil <[email protected]> --------- Signed-off-by: chjmil <[email protected]>
1 parent 5eab7de commit dd1e889

9 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG GCP_CLI_VERSION=496.0.0
66

77
FROM hashicorp/terraform:$TERRAFORM_VERSION AS terraform
88
FROM google/cloud-sdk:$GCP_CLI_VERSION-alpine
9-
ARG KUBECTL_VERSION=1.29.8
9+
ARG KUBECTL_VERSION=1.30.6
1010
ARG ENABLE_GKE_GCLOUD_AUTH_PLUGIN=True
1111
ARG INSTALL_COMPONENTS=""
1212

@@ -18,7 +18,7 @@ COPY . .
1818
RUN apk update \
1919
&& apk upgrade --no-cache \
2020
&& apk add --no-cache jq \
21-
&& curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
21+
&& curl -sLO https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
2222
&& chmod 755 ./kubectl /viya4-iac-gcp/docker-entrypoint.sh \
2323
&& mv ./kubectl /usr/local/bin/kubectl \
2424
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-gcp \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Operational knowledge of
3232
- Terraform or Docker
3333
- #### Terraform
3434
- [Terraform](https://www.terraform.io/downloads.html) - v1.9.6
35-
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.29.8
35+
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.30.6
3636
- [jq](https://stedolan.github.io/jq/) - v1.7
3737
- [gcloud CLI](https://cloud.google.com/sdk/gcloud) - (optional - useful as an alternative to the Google Cloud Platform Portal) - v496.0.0
3838
- [gke-gcloud-auth-plugin](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin) - (optional - only for provider based Kubernetes configuration files) - >= v1.26

config/sample-input-tf-enterprise.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ create_static_kubeconfig = true
3838
# tags = {} # e.g., { "key1" = "value1", "key2" = "value2" }
3939

4040
# GKE config
41-
kubernetes_version = "1.29"
41+
kubernetes_version = "1.30"
4242
default_nodepool_min_nodes = 1
4343
default_nodepool_vm_type = "n2-highmem-8"
4444

examples/sample-input-byo.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ postgres_servers = {
3737
}
3838

3939
# GKE config
40-
kubernetes_version = "1.29"
40+
kubernetes_version = "1.30"
4141
default_nodepool_min_nodes = 2
4242
default_nodepool_vm_type = "n2-highmem-8"
4343

examples/sample-input-connect.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
# GKE config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_min_nodes = 2
3232
default_nodepool_vm_type = "n2-highmem-8"
3333

examples/sample-input-ha.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
# GKE config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_min_nodes = 2
3232
default_nodepool_vm_type = "n2-highmem-8"
3333

examples/sample-input-minimal.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tags = {} # e.g., { "key1" = "value1", "key2" = "value2" }
2727
# }
2828

2929
# GKE config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_min_nodes = 1
3232
default_nodepool_vm_type = "n2-highmem-8"
3333

examples/sample-input.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postgres_servers = {
2727
}
2828

2929
# GKE config
30-
kubernetes_version = "1.29"
30+
kubernetes_version = "1.30"
3131
default_nodepool_min_nodes = 2
3232
default_nodepool_vm_type = "n2-highmem-8"
3333

linting-configs/.tflint.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
config {
1010
# Enables module inspection.
11-
module = true
11+
call_module_type = "all"
1212
}
1313

1414
plugin "google" {

0 commit comments

Comments
 (0)