From 2008a6bd379f23c358c0459ad4cc5f4182bccb9a Mon Sep 17 00:00:00 2001 From: Fredrik Medley Date: Sun, 21 Dec 2025 17:47:54 +0100 Subject: [PATCH] Fix jmespath config bb-storage commit a73d96059b0f211267391994ddf391c29c0d5b4e, submitted 2025-08-11, included in bb-clientd in commit 253388f5768019a8c6ca811705f94d9bb613ee25, submitted 2025-11-01, changed the JMESPath expression configuration schema. This commit fixes the config. --- configs/bb_clientd.jsonnet | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/bb_clientd.jsonnet b/configs/bb_clientd.jsonnet index 9d2b736..fe32e68 100644 --- a/configs/bb_clientd.jsonnet +++ b/configs/bb_clientd.jsonnet @@ -45,7 +45,13 @@ local cacheDirectory = std.extVar('XDG_CACHE_HOME') + '/bb_clientd'; [if authorizationHeader != null then 'addMetadata']: [ { header: 'authorization', values: [authorizationHeader] }, ], - addMetadataJmespathExpression: '{"build.bazel.remote.execution.v2.requestmetadata-bin": incomingGRPCMetadata."build.bazel.remote.execution.v2.requestmetadata-bin"}', + addMetadataJmespathExpression: { + expression: ||| + { + "build.bazel.remote.execution.v2.requestmetadata-bin": incomingGRPCMetadata."build.bazel.remote.execution.v2.requestmetadata-bin" + } + |||, + }, // Enable gRPC keepalives. Make sure to tune these settings based on // what your cluster permits. keepalive: {