From 866e67cef1addab327e3bbd354e302b88f1008d0 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 22 Jan 2026 13:39:38 +0000 Subject: [PATCH] [k8s] clsi-cache tweaks (#30949) * [k8s] clsi-cache: switch parent-app label to 'clsi-cache-legacy' * [k8s] clsi-cache: add service account from kustomization.yaml * [k8s] clsi-cache: consolidate on a single array of CLSI_CACHE_INSTANCES * [clsi-cache] make prettier happy GitOrigin-RevId: 4082a71df591904cfe437c4bde74759ddd83634c --- services/clsi/config/settings.defaults.cjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/clsi/config/settings.defaults.cjs b/services/clsi/config/settings.defaults.cjs index d9baedc40f..ed151a9658 100644 --- a/services/clsi/config/settings.defaults.cjs +++ b/services/clsi/config/settings.defaults.cjs @@ -57,8 +57,10 @@ module.exports = { }`, }, clsiCache: { - enabled: !!process.env.CLSI_CACHE_SHARDS, - shards: JSON.parse(process.env.CLSI_CACHE_SHARDS || '[]'), + enabled: !!process.env.CLSI_CACHE_INSTANCES, + shards: JSON.parse(process.env.CLSI_CACHE_INSTANCES || '[]').filter( + ({ zone }) => zone === process.env.ZONE + ), }, },