|
@@ -178,6 +178,11 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
|
- name: nextcloud-data
|
|
- name: nextcloud-data
|
|
mountPath: /var/www/html/themes
|
|
mountPath: /var/www/html/themes
|
|
subPath: "themes"
|
|
subPath: "themes"
|
|
|
|
+ - name: nextcloud-configuration
|
|
|
|
+ # We use -z-99 to ensure that this file is loaded
|
|
|
|
+ # after the default opcache file nextcloud provides.
|
|
|
|
+ mountPath: /usr/local/etc/php/conf.d/opcache-z-99.ini
|
|
|
|
+ subPath: opcache.ini
|
|
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
|
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
|
- name: extrappvolume-{{ $index }}
|
|
- name: extrappvolume-{{ $index }}
|
|
mountPath: {{ $hostPathConfiguration.mountPath }}
|
|
mountPath: {{ $hostPathConfiguration.mountPath }}
|
|
@@ -198,6 +203,10 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
|
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
|
volumes:
|
|
volumes:
|
|
|
|
+ - name: nextcloud-configuration
|
|
|
|
+ configMap:
|
|
|
|
+ defaultMode: 0755
|
|
|
|
+ name: "nextcloud-configuration"
|
|
- name: nginx-configuration
|
|
- name: nginx-configuration
|
|
configMap:
|
|
configMap:
|
|
defaultMode: 0700
|
|
defaultMode: 0700
|