Make log level configurable (#541)

Resolves #425
This commit is contained in:
Yusuke Kuoka
2021-05-11 20:23:06 +09:00
committed by GitHub
parent 3cd124dce3
commit ae09e6ebb7
6 changed files with 51 additions and 6 deletions

View File

@@ -42,6 +42,9 @@ spec:
{{- if .Values.githubAPICacheDuration }}
- "--github-api-cache-duration={{ .Values.githubAPICacheDuration }}"
{{- end }}
{{- if .Values.logLevel }}
- "--log-level={{ .Values.logLevel }}"
{{- end }}
command:
- "/manager"
env:

View File

@@ -34,6 +34,9 @@ spec:
- args:
- "--metrics-addr=127.0.0.1:8080"
- "--sync-period={{ .Values.githubWebhookServer.syncPeriod }}"
{{- if .Values.githubWebhookServer.logLevel }}
- "--log-level={{ .Values.githubWebhookServer.logLevel }}"
{{- end }}
command:
- "/github-webhook-server"
env: