Skip to content

Commit

Permalink
Merge branch 'main' into ci/authentication/use-github-secrets-instead…
Browse files Browse the repository at this point in the history
…-of-vault
  • Loading branch information
marcelovilla authored Jan 17, 2025
2 parents e4fd341 + 06f2030 commit 1dae9a9
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/_nebari/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# 04-kubernetes-ingress
DEFAULT_TRAEFIK_IMAGE_TAG = "2.9.1"

HIGHEST_SUPPORTED_K8S_VERSION = ("1", "29", "2")
HIGHEST_SUPPORTED_K8S_VERSION = ("1", "31") # specify Major and Minor version
DEFAULT_GKE_RELEASE_CHANNEL = "UNSPECIFIED"

DEFAULT_NEBARI_DASK_VERSION = CURRENT_RELEASE
Expand Down
4 changes: 1 addition & 3 deletions src/_nebari/provider/cloud/commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
def filter_by_highest_supported_k8s_version(k8s_versions_list):
filtered_k8s_versions_list = []
for k8s_version in k8s_versions_list:
version = tuple(
filter(None, re.search(r"(\d+)\.(\d+)(?:\.(\d+))?", k8s_version).groups())
)
version = tuple(filter(None, re.search(r"(\d+)\.(\d+)", k8s_version).groups()))
if version <= HIGHEST_SUPPORTED_K8S_VERSION:
filtered_k8s_versions_list.append(k8s_version)
return filtered_k8s_versions_list
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ resource "aws_eks_addon" "aws-ebs-csi-driver" {
"eks.amazonaws.com/nodegroup" = "general"
}
}
defaultStorageClass = {
enabled = true
}
})

# Ensure cluster and node groups are created
Expand Down
2 changes: 1 addition & 1 deletion src/_nebari/stages/kubernetes_ingress/template/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
keycloak = {
source = "mrparkers/keycloak"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
keycloak = {
source = "mrparkers/keycloak"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.20.0"
version = "2.35.1"
}
keycloak = {
source = "mrparkers/keycloak"
Expand Down

0 comments on commit 1dae9a9

Please sign in to comment.