add php ini tweaks to nextcloud
This commit is contained in:
parent
5599645d0e
commit
447999c799
|
@ -0,0 +1,3 @@
|
||||||
|
upload_max_filesize=2G
|
||||||
|
post_max_size=2G
|
||||||
|
memory_limit=2G
|
|
@ -10,6 +10,9 @@ commonLabels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
|
- name: php-ini
|
||||||
|
files:
|
||||||
|
- php-user.ini=configurations/php-user.ini
|
||||||
- name: kustomize-generated-config
|
- name: kustomize-generated-config
|
||||||
literals:
|
literals:
|
||||||
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
||||||
|
|
|
@ -90,10 +90,17 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nextcloud-pv
|
- name: nextcloud-pv
|
||||||
mountPath: /var/www/html
|
mountPath: /var/www/html
|
||||||
|
- name: php-ini
|
||||||
|
mountPath: /usr/local/etc/php/conf.d/php-user.ini
|
||||||
|
subPath: php-user.ini
|
||||||
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: nextcloud-pv
|
- name: nextcloud-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: server-pvc
|
claimName: server-pvc
|
||||||
|
- name: php-ini
|
||||||
|
configMap:
|
||||||
|
name: php-ini
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
|
Loading…
Reference in New Issue