Helm escaping

This commit is contained in:
Seth Call 2025-12-18 20:53:44 -06:00
parent 3acf50b1f2
commit a27f516d0a
1 changed files with 1 additions and 1 deletions

View File

@ -49,6 +49,6 @@ spec:
expression: '^\[.*\] \[(?P<level>\w+)\]\s+(?P<message>.*)$'
- template:
source: level
template: '{{ if eq .Value "LOG" }}info{{ else if eq .Value "WARN" }}warn{{ else if eq .Value "ERROR" }}error{{ else }}{{ .Value | lower }}{{ end }}'
template: '{{ "{{" }} if eq .Value "LOG" {{ "}}" }}info{{ "{{" }} else if eq .Value "WARN" {{ "}}" }}warn{{ "{{" }} else if eq .Value "ERROR" {{ "}}" }}error{{ "{{" }} else {{ "}}" }}{{ "{{" }} .Value | lower {{ "}}" }}{{ "{{" }} end {{ "}}" }}'
- labels:
level: level