-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the logLevel configuration in helm charts #506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add logLevel
to the chart readme.
charts/flagger/Chart.yaml
Outdated
@@ -1,6 +1,6 @@ | |||
apiVersion: v1 | |||
name: flagger | |||
version: 0.24.0 | |||
version: 0.25.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo this change, the version bump is part of the release procedure.
@@ -65,7 +65,11 @@ spec: | |||
containerPort: 8080 | |||
command: | |||
- ./flagger | |||
{{- if .Values.logLevel }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need for an if/else
here since the default value is info.
charts/flagger/values.yaml
Outdated
@@ -6,6 +6,9 @@ image: | |||
pullPolicy: IfNotPresent | |||
pullSecret: | |||
|
|||
# accepted values are debug, info, warning, error (defaults to info) | |||
logLevel: "info" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the double quotes.
Remove if/else for logLevel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @sayboras
As discussed in slack https://weave-community.slack.com/archives/CGLQLLH9Q/p1584437457259500