From 0adedd4704bbc023303841f2a55e91355a47e281 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:54:43 +0200 Subject: [PATCH] helm: Resolve issues with multiline access rules (#65) --- helm/charts/oathkeeper/templates/configmap-rules.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helm/charts/oathkeeper/templates/configmap-rules.yaml b/helm/charts/oathkeeper/templates/configmap-rules.yaml index 03c3a10c0..1e29125cb 100644 --- a/helm/charts/oathkeeper/templates/configmap-rules.yaml +++ b/helm/charts/oathkeeper/templates/configmap-rules.yaml @@ -9,5 +9,4 @@ metadata: labels: {{ include "oathkeeper.labels" . | indent 4 }} data: - "access-rules.json": | - {{ .Values.oathkeeper.accessRules | default "[]" | indent 4 }} + "access-rules.json": {{ .Values.oathkeeper.accessRules | default "[]" | toJson | quote }}