[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
This commit is contained in:
Jakob Ackermann
2026-01-22 13:39:38 +00:00
committed by Copybot
parent b57df2602a
commit 866e67cef1

View File

@@ -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
),
},
},