Skip to content

Commit

Permalink
Add log format to registry config
Browse files Browse the repository at this point in the history
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
  • Loading branch information
nefelim4ag committed Jul 29, 2023
1 parent 596f26c commit 8c39f36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/registry/registry-cm.yaml
Expand Up @@ -15,6 +15,7 @@ data:
{{- else }}
level: {{ .Values.logLevel }}
{{- end }}
formatter: {{ .Values.registry.formatter }}
fields:
service: registry
storage:
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Expand Up @@ -556,6 +556,8 @@ registry:
serviceAccountName: ""
# mount the service account token
automountServiceAccountToken: false
# text/json/logstash
formatter: text
registry:
image:
repository: goharbor/registry-photon
Expand Down

0 comments on commit 8c39f36

Please sign in to comment.