From 1b5cd6b7fc7b1a8cf688e2de0ef7892cc3144328 Mon Sep 17 00:00:00 2001 From: Harshad Reddy Nalla Date: Wed, 22 May 2024 13:30:46 -0400 Subject: [PATCH] Upgrade go version to 1.20 for notebook-controller Signed-off-by: Harshad Reddy Nalla --- components/notebook-controller/Dockerfile | 2 +- components/notebook-controller/go.mod | 2 +- components/odh-notebook-controller/Dockerfile | 2 +- components/odh-notebook-controller/go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/notebook-controller/Dockerfile b/components/notebook-controller/Dockerfile index 17afac285ea..0c49dc31184 100644 --- a/components/notebook-controller/Dockerfile +++ b/components/notebook-controller/Dockerfile @@ -6,7 +6,7 @@ # # This is necessary because the Jupyter controller now depends on # components/common -ARG GOLANG_VERSION=1.19 +ARG GOLANG_VERSION=1.20 FROM golang:${GOLANG_VERSION} as builder WORKDIR /workspace diff --git a/components/notebook-controller/go.mod b/components/notebook-controller/go.mod index ec81e50989b..8192738566d 100644 --- a/components/notebook-controller/go.mod +++ b/components/notebook-controller/go.mod @@ -1,6 +1,6 @@ module github.com/kubeflow/kubeflow/components/notebook-controller -go 1.19 +go 1.20 require ( github.com/go-logr/logr v1.2.4 diff --git a/components/odh-notebook-controller/Dockerfile b/components/odh-notebook-controller/Dockerfile index 2fca94a1c4c..961c6245fc1 100644 --- a/components/odh-notebook-controller/Dockerfile +++ b/components/odh-notebook-controller/Dockerfile @@ -4,7 +4,7 @@ # # ${PATH_TO_KUBEFLOW/KUBEFLOW repo}/components # -ARG GOLANG_VERSION=1.19 +ARG GOLANG_VERSION=1.20 FROM golang:${GOLANG_VERSION} as builder WORKDIR /workspace diff --git a/components/odh-notebook-controller/go.mod b/components/odh-notebook-controller/go.mod index 4287ee9b41f..bd98e0dc5cf 100644 --- a/components/odh-notebook-controller/go.mod +++ b/components/odh-notebook-controller/go.mod @@ -1,6 +1,6 @@ module github.com/opendatahub-io/kubeflow/components/odh-notebook-controller -go 1.19 +go 1.20 require ( github.com/go-logr/logr v1.2.4