Skip to content

Commit

Permalink
fix:The log config param level in helm chart is wrong
Browse files Browse the repository at this point in the history
Signed-off-by: ONE7live <[email protected]>
  • Loading branch information
ONE7live committed Sep 6, 2022
1 parent 7480fbd commit 295726d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clusterpedia/templates/internalstorage-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data:
{{- if .Values.log.enabled }}
log:
stdout: {{ .Values.log.stdout }}
level: {{ .Values.log.level | quote }}
level: {{ .Values.log.level | default "Warn" | quote }}
slowThreshold: {{ .Values.log.slowThreshold }}
ignoreRecordNotFoundError: {{ .Values.log.ignoreRecordNotFoundError }}
{{- end -}}
7 changes: 2 additions & 5 deletions clusterpedia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,8 @@ log:
## @param stdout indicates whether it is standard output
stdout: false
## @param level indicates the level of log
## "1" indicates silent
## "2" indicates errot
## "3" indicates warn
## "4" indicates info
level: "3"
## Level must be one of [Silent, Error, Warn, Info], Default is 'Warn'
level: Warn
## @param slowThreshold default 200ms
slowThreshold: 100ms
## @param ignoreRecordNotFoundError indicates whether ignore error type `NotFound`
Expand Down

0 comments on commit 295726d

Please sign in to comment.