From 25208ddd623a77ea5e818c1f82b8a76955c18520 Mon Sep 17 00:00:00 2001 From: Petrus Repo Date: Fri, 7 Aug 2026 14:06:37 +0300 Subject: [PATCH] fix: Repair YAML block scalar in keycloak realm ConfigMap The airm-realm.json value is a YAML block scalar with 4-space indented content. The closing bracket of the emptied KeyProvider array sat at column 0, which terminates the block scalar early, so the parser read it as a new mapping key. This made 'helm template sources/keycloak-config' fail with 'line 2123: did not find expected key'. Indenting the bracket restores rendering. The embedded JSON is byte-identical after re-parsing, the empty array was intentional. --- .../keycloak-config/templates/keycloak-realm-templates-cm.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/keycloak-config/templates/keycloak-realm-templates-cm.yaml b/sources/keycloak-config/templates/keycloak-realm-templates-cm.yaml index bea81e91..6a8f157c 100644 --- a/sources/keycloak-config/templates/keycloak-realm-templates-cm.yaml +++ b/sources/keycloak-config/templates/keycloak-realm-templates-cm.yaml @@ -2121,8 +2121,7 @@ data: } } ], - "org.keycloak.keys.KeyProvider": [ -] + "org.keycloak.keys.KeyProvider": [] }, "internationalizationEnabled": false, "supportedLocales": [],