Skip to content

Commit

Permalink
#707 backup volume mount removed
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Sep 11, 2023
1 parent 36791b2 commit 7f18f4d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions deployment-configuration/helm/templates/auto-database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ spec:
volumeMounts:
- name: {{ .app.harness.database.name | quote }}
mountPath: /data/db
{{- if .root.Values.backup.active }}
- name: "db-backups"
mountPath: {{ (printf "%s/%s/%s" .root.Values.backup.dir .app.harness.database.type .app.harness.database.name) | quote }}
readOnly: true
{{- end }}
{{- if eq .app.harness.database.type "postgres" }}
- mountPath: /dev/shm
name: dshm
Expand All @@ -92,11 +87,6 @@ spec:
medium: Memory
name: dshm
{{- end }}
{{- if .root.Values.backup.active }}
- name: "db-backups"
persistentVolumeClaim:
claimName: "db-backups"
{{- end }}
---
{{- if .root.Values.backup.active }}
{{- include (print "deploy_utils.database." .app.harness.database.type ".backup") . }}
Expand Down

0 comments on commit 7f18f4d

Please sign in to comment.