diff --git a/templates/registry/registry-cm.yaml b/templates/registry/registry-cm.yaml index d17488ff2..3a024b564 100644 --- a/templates/registry/registry-cm.yaml +++ b/templates/registry/registry-cm.yaml @@ -8,7 +8,13 @@ data: config.yml: |+ version: 0.1 log: + {{- if eq .Values.logLevel "warning" }} + level: warn + {{- else if eq .Values.logLevel "fatal" }} + level: error + {{- else }} level: {{ .Values.logLevel }} + {{- end }} fields: service: registry storage: