From a7d8448eb6e89683f25b0a489ba19f9a027a731b Mon Sep 17 00:00:00 2001 From: Feruzjon Muyassarov Date: Wed, 7 Aug 2024 15:42:14 +0300 Subject: [PATCH] tilt: sync up builder go version with project go.mod Signed-off-by: Feruzjon Muyassarov --- Tiltfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index 332a43880..72eb335b2 100644 --- a/Tiltfile +++ b/Tiltfile @@ -2,7 +2,7 @@ BASE_IMAGE_MINIMAL="gcr.io/distroless/base" BASE_IMAGE_FULL="debian:bullseye-slim" -BUILDER_IMAGE="golang:1.19-bullseye" +BUILDER_IMAGE="golang:1.22-bullseye" HOSTMOUNT_PREFIX="/host-" IMAGE_TAG_NAME = os.getenv('IMAGE_TAG_NAME', "master") IMAGE_REGISTRY = os.getenv('IMAGE_REGISTRY', "gcr.io/k8s-staging-nfd") @@ -12,6 +12,7 @@ IMAGE_NAME = os.getenv('IMAGE_NAME', "node-feature-discovery") # registry.k8s.io/nfd/node-feature-discovery:master IMAGE = "/".join([IMAGE_REGISTRY, IMAGE_NAME]) TAGGED_IMAGE = ":".join([IMAGE, IMAGE_TAG_NAME]) +allow_k8s_contexts('kubernetes-admin@kubernetes') # Builds container image def build_image():