Skip to content

Commit

Permalink
chore(helm): make it possible to specify logging level
Browse files Browse the repository at this point in the history
closes #60
  • Loading branch information
clementnuss committed Jun 3, 2022
1 parent 8e75952 commit 7a663b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kubelet-csr-approver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ spec:
- ":{{ .Values.metrics.port }}"
- -health-probe-bind-address
- ":8081"
{{- if .Values.loggingLevel }}
- -level
- {{ .Values.loggingLevel | quote }}
{{- end }}
env:
{{- if .Values.providerRegex }}
- name: PROVIDER_REGEX
Expand Down
3 changes: 3 additions & 0 deletions charts/kubelet-csr-approver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ providerIpPrefixes: []
# - 192.168.8.0/22
# - fc00::/7

# logging level ranges from -5 (Fatal) to 10 (Verbose). default level is 0
loggingLevel: 0

namespace: ""

image:
Expand Down

0 comments on commit 7a663b8

Please sign in to comment.