Skip to content

Commit

Permalink
adds debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed Jun 18, 2024
1 parent 88c3ec4 commit 9cdc611
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/gdscan/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ spec:
env:
- name: HostOptions__ShutdownTimeout
value: {{ include "common.secondsToHHMMSS" .Values.terminationGracePeriodSeconds | quote }}
{{- if .Values.debug }}
- name: Serilog__MinimumLevel__Override__ScanClient.Controllers.ScanController
value: Debug
{{- end }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down
2 changes: 2 additions & 0 deletions charts/gdscan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,5 @@ autoUpdate:
networkPolicy:
enabled: true
k8sApiPort: 6443

debug: false

0 comments on commit 9cdc611

Please sign in to comment.