From a94b13a8ade5e83572a4937164d8960c7e912520 Mon Sep 17 00:00:00 2001 From: Melvin GABALI Date: Sun, 28 Dec 2025 04:52:51 +0100 Subject: [PATCH] Update prd --- nextcloud/prd/values.yaml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/nextcloud/prd/values.yaml b/nextcloud/prd/values.yaml index 5df2548..494c66a 100644 --- a/nextcloud/prd/values.yaml +++ b/nextcloud/prd/values.yaml @@ -3,34 +3,33 @@ nextcloud: replicaCount: 1 # 1. Indispensable pour que Traefik crée la règle de routage + # Configuration Réseau / Traefik 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 + - nextcloud-prd.example.com - # 2. Configuration interne de Nextcloud (Trusted Domains) + # Configuration de l'application nextcloud: host: nextcloud-prd.example.com username: admin password: prd - # Optionnel mais recommandé : force le protocole HTTPS dans les liens générés + + # AJOUTEZ CE BLOC : Autorise Kubernetes à interroger le pod configs: - proxy.config.php: |- + trusted_domains.config.php: |- 'https', - 'trusted_proxies' => array('0.0.0.0/0'), + 'trusted_domains' => + array ( + 0 => 'localhost', + 1 => 'nextcloud-prd.example.com', + 2 => '127.0.0.1', + ), ); - # 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