Update prd

This commit is contained in:
2025-12-28 04:52:51 +01:00
parent 567f435ab7
commit a94b13a8ad

View File

@@ -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: |-
<?php
$CONFIG = array (
'overwriteprotocol' => '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