Skip to content

Commit

Permalink
Merge pull request #307 from Aste88/master
Browse files Browse the repository at this point in the history
Fix #306 (extraVolumeMounts missing from deployment, wrong indent on extraInitContainers)
  • Loading branch information
tvories authored Feb 9, 2023
2 parents 6a8413c + 13b0607 commit d629055
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 3.4.5
version: 3.4.6
appVersion: 25.0.3
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/nextcloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,7 @@ Create volume mounts for the nextcloud container as well as the cron sidecar con
mountPath: {{ $nginxEnabled | ternary (printf "/usr/local/etc/php-fpm.d/%s" $key | quote) (printf "/usr/local/etc/php/conf.d/%s" $key | quote) }}
subPath: {{ $key }}
{{- end }}
{{- if .Values.nextcloud.extraVolumeMounts }}
{{ toYaml .Values.nextcloud.extraVolumeMounts }}
{{- end -}}
{{- end -}}
2 changes: 1 addition & 1 deletion charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ spec:
{{- if or .Values.nextcloud.extraInitContainers .Values.mariadb.enabled .Values.postgresql.enabled }}
initContainers:
{{- if .Values.nextcloud.extraInitContainers }}
{{- toYaml .Values.nextcloud.extraInitContainers | nindent 8 }}
{{- toYaml .Values.nextcloud.extraInitContainers | nindent 6 }}
{{- end }}
{{- if .Values.mariadb.enabled }}
- name: mariadb-isalive
Expand Down

0 comments on commit d629055

Please sign in to comment.