Skip to content

Commit

Permalink
Gke 1.27 (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
pk0331 authored Aug 11, 2023
1 parent 037bebf commit c0c8d03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/gcp/gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "google_compute_subnetwork" "cluster_subnet" {

module "gke" {
depends_on = [google_compute_subnetwork.cluster_subnet]
source = "github.com/argonautdev/terraform-google-kubernetes-engine//modules/private-cluster?ref=v21.1.6"
source = "github.com/argonautdev/terraform-google-kubernetes-engine//modules/private-cluster?ref=v21.1.8"
project_id = var.project_id
name = var.cluster_name
description = var.description
Expand All @@ -54,7 +54,7 @@ module "gke" {
filestore_csi_driver = var.filestore_csi_driver
horizontal_pod_autoscaling = var.horizontal_pod_autoscaling
enable_vertical_pod_autoscaling = var.enable_vertical_pod_autoscaling
kubernetes_version = var.kubernetes_version
kubernetes_version = var.platform_version
initial_node_count = var.initial_node_count ##How many instances should be launched in each zone
node_pools = var.node_pools
remove_default_node_pool = var.remove_default_node_pool
Expand Down
3 changes: 1 addition & 2 deletions modules/gcp/gke/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ variable "horizontal_pod_autoscaling" {
}

## https://cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version
variable "kubernetes_version" {
variable "platform_version" {
type = string
description = "The Kubernetes version of the masters."
default = "1.24"
}

variable "initial_node_count" {
Expand Down

0 comments on commit c0c8d03

Please sign in to comment.