Update prd
This commit is contained in:
@@ -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
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user