From 12929538257c4cdd908baf075e3a21a1d685282d Mon Sep 17 00:00:00 2001 From: Melvin GABALI Date: Sun, 28 Dec 2025 04:55:56 +0100 Subject: [PATCH] update rct & dev --- nextcloud/dev/values.yaml | 15 ++++++++------- nextcloud/rct/values.yaml | 13 ++++--------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/nextcloud/dev/values.yaml b/nextcloud/dev/values.yaml index b8e097c..05fe195 100644 --- a/nextcloud/dev/values.yaml +++ b/nextcloud/dev/values.yaml @@ -2,16 +2,17 @@ # 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-dev.example.com + # Configuration de l'application nextcloud: host: nextcloud-dev.example.com username: admin diff --git a/nextcloud/rct/values.yaml b/nextcloud/rct/values.yaml index c960a97..8ba25d8 100644 --- a/nextcloud/rct/values.yaml +++ b/nextcloud/rct/values.yaml @@ -10,13 +10,13 @@ nextcloud: path: / pathType: Prefix hosts: - - nextcloud-prd.example.com + - nextcloud-rct.example.com # Configuration de l'application nextcloud: - host: nextcloud-prd.example.com + host: nextcloud-rct.example.com username: admin - password: prd + password: rct # AJOUTEZ CE BLOC : Autorise Kubernetes à interroger le pod configs: @@ -26,16 +26,11 @@ nextcloud: 'trusted_domains' => array ( 0 => 'localhost', - 1 => 'nextcloud-prd.example.com', + 1 => 'nextcloud-rct.example.com', 2 => '127.0.0.1', ), ); - # # nextcloud: - # host: nextcloud-prd.example.com - # username: admin - # password: prd - persistence: enabled: true size: 1Gi \ No newline at end of file