diff --git a/templates/logrotate-config-configmap.yaml b/templates/logrotate-config-configmap.yaml deleted file mode 100644 index 02f606e98..000000000 --- a/templates/logrotate-config-configmap.yaml +++ /dev/null @@ -1,20 +0,0 @@ -{{- if .Values.server.logrotate}} -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ template "vault.fullname" . }}-logrotate-config - namespace: {{ .Release.Namespace }} -data: - logrotate.conf: | - /vault/audit/audit.log { - rotate 1 - copytruncate - size 5M - missingok - compress - postrotate - pkill -HUP -f "vault server" - echo "`date`: Audit log rotated - SIGHUP exit code is $?" > /vault/audit/last-rotate-status - endscript - } -{{ end }} \ No newline at end of file