Skip to content

Commit

Permalink
backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Apr 26, 2024
1 parent 71b9823 commit 8d0c2ea
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions library/ix-dev/charts/nextcloud/templates/_persistence.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,44 @@ persistence:
{{- if .Values.ncStorage.isDataInTheSameVolume }}
subPath: data
{{- end }}
{{- if .Values.ncStorage.isDataInTheSameVolume }}
config:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.ncStorage.html) | nindent 4 }}
targetSelector:
nextcloud:
nextcloud:
mountPath: /var/www/html/config
subPath: config
nextcloud-cron:
nextcloud-cron:
mountPath: /var/www/html/config
subPath: config
customapps:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.ncStorage.html) | nindent 4 }}
targetSelector:
nextcloud:
nextcloud:
mountPath: /var/www/html/custom_apps
subPath: custom_apps
nextcloud-cron:
nextcloud-cron:
mountPath: /var/www/html/custom_apps
subPath: custom_apps
themes:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.ncStorage.html) | nindent 4 }}
targetSelector:
nextcloud:
nextcloud:
mountPath: /var/www/html/themes
subPath: themes
nextcloud-cron:
nextcloud-cron:
mountPath: /var/www/html/themes
subPath: themes
{{- end }}

# Configuration files mounting
nc-config-opcache:
Expand Down

0 comments on commit 8d0c2ea

Please sign in to comment.