Skip to content

Commit

Permalink
fix statefulset mountpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsanti committed Nov 15, 2023
1 parent 539f821 commit 05c1a35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: guerzon
email: [email protected]
url: https://github.com/guerzon
version: 0.16.1
version: 0.17.0
kubeVersion: ">=1.12.0-0"
5 changes: 3 additions & 2 deletions charts/vaultwarden/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,17 @@ spec:
path: /alive
port: 8080
initialDelaySeconds: 5
{{- if .Values.data }}
{{- if or (.Values.data) (.Values.attachments) }}
volumeMounts:
{{- if .Values.data }}
- name: {{ .Values.data.name }}
mountPath: {{ default "/data" .Values.data.path }}
{{- end }}
{{- if .Values.attachments }}
volumeMounts:
- name: {{ .Values.attachments.name }}
mountPath: {{ default "/data/attachments" .Values.attachments.path }}
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.sidecars }}
Expand Down

0 comments on commit 05c1a35

Please sign in to comment.