2023-08-30 11:35:31 +02:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
|
|
generatorOptions:
|
|
|
|
disableNameSuffixHash: true # suppression des suffixe en hash en bout de nom
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- ./resources/deployment.yaml
|
|
|
|
- ./resources/nextcloud-service.yaml
|
|
|
|
- ./resources/nextcloud-rolebinding.yaml
|
|
|
|
- ./resources/nextcloud-role.yaml
|
|
|
|
- ./resources/nextcloud-serviceaccount.yaml
|
|
|
|
- ./resources/ingress.yaml
|
2023-09-04 12:40:18 +02:00
|
|
|
- ./resources/pvc/00-main.yaml
|
|
|
|
- ./resources/pvc/01-html.yaml
|
|
|
|
- ./resources/pvc/02-data.yaml
|
|
|
|
- ./resources/pvc/03-config.yaml
|
|
|
|
- ./resources/pvc/04-custom.yaml
|
|
|
|
- ./resources/pvc/06-tmp.yaml
|
|
|
|
- ./resources/pvc/07-themes.yaml
|
2023-08-30 11:35:31 +02:00
|
|
|
|
|
|
|
configMapGenerator:
|
|
|
|
- name: nextcloud-env
|
|
|
|
literals:
|
2023-09-04 12:40:18 +02:00
|
|
|
- NEXTCLOUD_ADMIN_USER="admin"
|
|
|
|
- NEXTCLOUD_ADMIN_PASSWORD="cadoles" # 5
|
|
|
|
- NEXTCLOUD_TRUSTED_DOMAINS="*.cadoles.fr"
|
|
|
|
- PHP_MEMORY_LIMIT="512M"
|
|
|
|
- PHP_UPLOAD_LIMIT="4G"
|
|
|
|
- MAIL_FROM_ADDRESS="user"
|
|
|
|
- MAIL_DOMAIN="cadoles.fr"
|
|
|
|
- SMTP_HOST="smtp.cadoles.com"
|
|
|
|
- SMTP_SECURE="ssl"
|
|
|
|
- SMTP_PORT="465"
|
|
|
|
- SMTP_AUTHTYPE="LOGIN"
|
2023-08-30 11:35:31 +02:00
|
|
|
|
|
|
|
secretGenerator:
|
|
|
|
- name: nextcloud-smtp
|
|
|
|
literals:
|
2023-09-04 12:40:18 +02:00
|
|
|
- smtp-username=secretuser
|
|
|
|
- smtp-password=secretpassword
|
2023-08-30 11:35:31 +02:00
|
|
|
options:
|
|
|
|
disableNameSuffixHash: true
|