Add the logLevel configuration in helm charts

This commit is contained in:
sayboras
2020-03-17 21:39:50 +11:00
parent e76a6792b9
commit 3aa3ae2de4
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: flagger
version: 0.24.0
version: 0.25.0
appVersion: 1.0.0-rc.1
kubeVersion: ">=1.11.0-0"
engine: gotpl
+4
View File
@@ -65,7 +65,11 @@ spec:
containerPort: 8080
command:
- ./flagger
{{- if .Values.logLevel }}
- -log-level={{ .Values.logLevel }}
{{- else }}
- -log-level=info
{{- end }}
{{- if .Values.meshProvider }}
- -mesh-provider={{ .Values.meshProvider }}
{{- end }}
+3
View File
@@ -6,6 +6,9 @@ image:
pullPolicy: IfNotPresent
pullSecret:
# accepted values are debug, info, warning, error (defaults to info)
logLevel: "info"
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"