Skip to content

Commit

Permalink
Mount the data on the correct path for 1.x releases (8gears#49)
Browse files Browse the repository at this point in the history
* Update deployment.yaml

* Update deployment.worker.yaml

* Update deployment.webhooks.yaml
  • Loading branch information
bartlaarhoven committed Aug 17, 2023
1 parent f58182b commit 8df898a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/deployment.webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
{{- toYaml .Values.webhookResources | nindent 12 }}
volumeMounts:
- name: data
mountPath: /root/.n8n
mountPath: {{ if semverCompare ">=1.0" .Values.image.tag | default .Chart.AppVersion }}/home/node/.n8n{{ else }}/root/.n8n{{ end }}
{{- if .Values.config }}
- name: config-volume
mountPath: /n8n-config
Expand Down
2 changes: 1 addition & 1 deletion templates/deployment.worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
{{- toYaml .Values.workerResources | nindent 12 }}
volumeMounts:
- name: data
mountPath: /root/.n8n
mountPath: {{ if semverCompare ">=1.0" .Values.image.tag | default .Chart.AppVersion }}/home/node/.n8n{{ else }}/root/.n8n{{ end }}
{{- if .Values.config }}
- name: config-volume
mountPath: /n8n-config
Expand Down
2 changes: 1 addition & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: data
mountPath: /root/.n8n
mountPath: {{ if semverCompare ">=1.0" .Values.image.tag | default .Chart.AppVersion }}/home/node/.n8n{{ else }}/root/.n8n{{ end }}
{{- if .Values.config }}
- name: config-volume
mountPath: /n8n-config
Expand Down

0 comments on commit 8df898a

Please sign in to comment.