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 }}