From 639e1d5e4492e331c9a1ead7c2aed77f6d0598cd Mon Sep 17 00:00:00 2001 From: Melvin GABALI Date: Sun, 28 Dec 2025 04:54:45 +0100 Subject: [PATCH] update rct --- nextcloud/rct/values.yaml | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/nextcloud/rct/values.yaml b/nextcloud/rct/values.yaml index 893ea09..c960a97 100644 --- a/nextcloud/rct/values.yaml +++ b/nextcloud/rct/values.yaml @@ -2,20 +2,39 @@ # doivent être indentées sous la clé 'nextcloud' nextcloud: replicaCount: 1 - + # 1. Indispensable pour que Traefik crée la règle de routage + # Configuration Réseau / Traefik ingress: enabled: true - # 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 + className: traefik + path: / + pathType: Prefix + hosts: + - nextcloud-prd.example.com + # Configuration de l'application nextcloud: - host: nextcloud-rct.example.com + host: nextcloud-prd.example.com username: admin - password: rct + password: prd + + # AJOUTEZ CE BLOC : Autorise Kubernetes à interroger le pod + configs: + trusted_domains.config.php: |- + + array ( + 0 => 'localhost', + 1 => 'nextcloud-prd.example.com', + 2 => '127.0.0.1', + ), + ); + + # # nextcloud: + # host: nextcloud-prd.example.com + # username: admin + # password: prd persistence: enabled: true