Skip to content
Snippets Groups Projects
Verified Commit c77183d3 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

add prepare4shutdown command to preStop hook

parent 2a19b8c6
No related branches found
No related tags found
1 merge request!28Resolve "Make OnlyOffice backup opened documents"
...@@ -23,6 +23,11 @@ spec: ...@@ -23,6 +23,11 @@ spec:
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
lifecycle:
preStop:
exec:
command:
- "/usr/local/sbin/prepare4shutdown.sh"
image: "{{ .Values.onlyoffice.image.repository }}:{{ .Values.onlyoffice.image.tag }}" image: "{{ .Values.onlyoffice.image.repository }}:{{ .Values.onlyoffice.image.tag }}"
imagePullPolicy: {{ .Values.onlyoffice.image.pullPolicy }} imagePullPolicy: {{ .Values.onlyoffice.image.pullPolicy }}
{{- if .Values.onlyoffice.livenessProbe.enabled }} {{- if .Values.onlyoffice.livenessProbe.enabled }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment