42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
# Toutes les configurations destinées au chart Nextcloud
|
|
# doivent être indentées sous la clé 'nextcloud'
|
|
nextcloud:
|
|
replicaCount: 1
|
|
# 1. Indispensable pour que Traefik crée la règle de routage
|
|
ingress:
|
|
enabled: true
|
|
className: traefik
|
|
path: /
|
|
pathType: Prefix
|
|
# Le chart boucle sur cette liste pour générer l'Ingress
|
|
hosts:
|
|
- nextcloud-prd.example.com
|
|
|
|
# 2. Configuration interne de Nextcloud (Trusted Domains)
|
|
nextcloud:
|
|
host: nextcloud-prd.example.com
|
|
username: admin
|
|
password: prd
|
|
# Optionnel mais recommandé : force le protocole HTTPS dans les liens générés
|
|
configs:
|
|
proxy.config.php: |-
|
|
<?php
|
|
$CONFIG = array (
|
|
'overwriteprotocol' => 'https',
|
|
'trusted_proxies' => array('0.0.0.0/0'),
|
|
);
|
|
# Note : Le chart Nextcloud officiel attend souvent
|
|
# une structure spécifique pour l'ingress (hosts, path, etc.)
|
|
# annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
# Vérifiez la documentation du chart Nextcloud pour les détails exacts :
|
|
# https://github.com/nextcloud/helm/tree/main/charts/nextcloud
|
|
|
|
# # nextcloud:
|
|
# host: nextcloud-prd.example.com
|
|
# username: admin
|
|
# password: prd
|
|
|
|
persistence:
|
|
enabled: true
|
|
size: 2Gi |