update prd

This commit is contained in:
2025-12-28 04:50:11 +01:00
parent 4e455b5c31
commit 567f435ab7

View File

@@ -2,9 +2,29 @@
# doivent être indentées sous la clé 'nextcloud' # doivent être indentées sous la clé 'nextcloud'
nextcloud: nextcloud:
replicaCount: 1 replicaCount: 1
# 1. Indispensable pour que Traefik crée la règle de routage
ingress: ingress:
enabled: true 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: |-
<?php
$CONFIG = array (
'overwriteprotocol' => 'https',
'trusted_proxies' => array('0.0.0.0/0'),
);
# Note : Le chart Nextcloud officiel attend souvent # Note : Le chart Nextcloud officiel attend souvent
# une structure spécifique pour l'ingress (hosts, path, etc.) # une structure spécifique pour l'ingress (hosts, path, etc.)
# annotations: # annotations:
@@ -12,10 +32,10 @@ nextcloud:
# Vérifiez la documentation du chart Nextcloud pour les détails exacts : # Vérifiez la documentation du chart Nextcloud pour les détails exacts :
# https://github.com/nextcloud/helm/tree/main/charts/nextcloud # https://github.com/nextcloud/helm/tree/main/charts/nextcloud
# nextcloud: # # nextcloud:
host: nextcloud-prd.example.com # host: nextcloud-prd.example.com
username: admin # username: admin
password: prd # password: prd
persistence: persistence:
enabled: true enabled: true