From c6309e2df1fbd308bb93f45574d5021cc9a2e9d0 Mon Sep 17 00:00:00 2001 From: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com> Date: Thu, 15 Oct 2026 20:58:08 -0700 Subject: [PATCH] Use k8s-libsonnet 1.36 k8s-libsonnet removed the 1.30 directory and keeps only 1.33 to 1.36. `tk init --k8s=1.30` still installs the repository, but github.com/jsonnet-libs/k8s-libsonnet/1.30/main.libsonnet no longer exists, so the README instructions and `make test-readme` fail with: couldn't open import "github.com/jsonnet-libs/k8s-libsonnet/1.30/main.libsonnet" Change the README and scripts/test-readme.sh to 1.36, the newest version. Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com> --- CHANGELOG.md | 1 + README.md | 2 +- scripts/test-readme.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03e0f87..7cb776b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## master +* [CHANGE] Use k8s-libsonnet 1.36. k8s-libsonnet removed 1.30, which broke the README instructions and `make test-readme` * [ENHANCEMENT] Add bigger tenants and configure default compactor tenant shards ## 1.17.1 / 2024-10-23 diff --git a/README.md b/README.md index 65d9170..d096a68 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ To generate the YAMLs for deploying Cortex: ```console $ mkdir && cd - $ tk init --k8s=1.30 # this includes github.com/jsonnet-libs/k8s-libsonnet/1.30@main + $ tk init --k8s=1.36 # this includes github.com/jsonnet-libs/k8s-libsonnet/1.36@main $ jb install github.com/cortexproject/cortex-jsonnet/cortex@main ``` diff --git a/scripts/test-readme.sh b/scripts/test-readme.sh index 55120b0..c7e97df 100755 --- a/scripts/test-readme.sh +++ b/scripts/test-readme.sh @@ -3,7 +3,7 @@ set -xe rm -rf $1 mkdir -p $1 cd $1 -tk init --k8s=1.30 +tk init --k8s=1.36 jb install github.com/cortexproject/cortex-jsonnet/cortex@main rm -fr ./vendor/cortex cp -r ../../cortex ./vendor/