From 567f435ab772037822f778a12a0a2affdc9b7847 Mon Sep 17 00:00:00 2001 From: Melvin GABALI Date: Sun, 28 Dec 2025 04:50:11 +0100 Subject: [PATCH] update prd --- nextcloud/prd/values.yaml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/nextcloud/prd/values.yaml b/nextcloud/prd/values.yaml index 7355294..5df2548 100644 --- a/nextcloud/prd/values.yaml +++ b/nextcloud/prd/values.yaml @@ -2,9 +2,29 @@ # 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: |- + '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: @@ -12,10 +32,10 @@ nextcloud: # 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 + # # nextcloud: + # host: nextcloud-prd.example.com + # username: admin + # password: prd persistence: enabled: true