diff --git a/charts/gdscan/Chart.yaml b/charts/gdscan/Chart.yaml index 597c29d..05713eb 100644 --- a/charts/gdscan/Chart.yaml +++ b/charts/gdscan/Chart.yaml @@ -5,4 +5,4 @@ maintainers: - name: G DATA CyberDefense AG email: oem@gdata.de type: application -version: 1.8.0 +version: 1.9.0 diff --git a/charts/gdscan/templates/deployment.yaml b/charts/gdscan/templates/deployment.yaml index a224e6e..65dd5c8 100644 --- a/charts/gdscan/templates/deployment.yaml +++ b/charts/gdscan/templates/deployment.yaml @@ -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: diff --git a/charts/gdscan/templates/update.yaml b/charts/gdscan/templates/update.yaml index 96f794d..b3e8f90 100644 --- a/charts/gdscan/templates/update.yaml +++ b/charts/gdscan/templates/update.yaml @@ -67,6 +67,9 @@ spec: {{- end }} command: - "kubectl" +{{- if .Values.debug }} + - "-v=8" +{{- end }} - "rollout" - "restart" {{- if and (.Values.persistence.enabled) (eq .Values.persistence.accessMode "ReadWriteOnce" ) }} diff --git a/charts/gdscan/values.yaml b/charts/gdscan/values.yaml index 5f8fc93..dfd0512 100644 --- a/charts/gdscan/values.yaml +++ b/charts/gdscan/values.yaml @@ -123,3 +123,5 @@ autoUpdate: networkPolicy: enabled: true k8sApiPort: 6443 + +debug: false