Skip to content

Commit

Permalink
Fix persistence init container indentation (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
fk-flip authored Apr 8, 2024
1 parent 9e1ac0e commit 4f70095
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ spec:
{{- if or .Values.initContainers (and .Values.persistence.enabled (eq .Values.persistence.type "dynamic")) }}
initContainers:
{{- if and .Values.persistence.enabled (eq .Values.persistence.type "dynamic") }}
- name: init-data-dir
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
command: ["/bin/sh", "-c", "mkdir -p /home/node/.n8n/"]
volumeMounts:
- name: data
mountPath: /home/node/.n8n
- name: init-data-dir
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
command: ["/bin/sh", "-c", "mkdir -p /home/node/.n8n/"]
volumeMounts:
- name: data
mountPath: /home/node/.n8n
{{- end }}
{{- if .Values.initContainers }}
{{ tpl (toYaml .Values.initContainers) . | nindent 8 }}
Expand Down

0 comments on commit 4f70095

Please sign in to comment.