From 4f70095930313ef2bd1dfd05de570afe91175ce4 Mon Sep 17 00:00:00 2001 From: Felix <129939695+fk-flip@users.noreply.github.com> Date: Mon, 8 Apr 2024 15:35:35 +0200 Subject: [PATCH] Fix persistence init container indentation (#85) --- templates/deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 44c4e0a..a458441 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -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 }}