diff --git a/chart/templates/console/deployment.yaml b/chart/templates/console/deployment.yaml index 65f721c1db145a9561e2839459012d6304e9aa16..38d99d5b04c90315d41a30446cbe0981d75692da 100644 --- a/chart/templates/console/deployment.yaml +++ b/chart/templates/console/deployment.yaml @@ -86,5 +86,10 @@ spec: configMap: name: twistlock-console - name: syslog-socket + {{- if .Values.console.syslogPersistence.enabled}} + hostPath: + path: "/dev/log" + {{- else}} emptyDir: {} + {{- end}}