mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[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:
@@ -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
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user