Update prd
This commit is contained in:
@@ -3,34 +3,33 @@
|
|||||||
nextcloud:
|
nextcloud:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
# 1. Indispensable pour que Traefik crée la règle de routage
|
# 1. Indispensable pour que Traefik crée la règle de routage
|
||||||
|
# Configuration Réseau / Traefik
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: traefik
|
className: traefik
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
# Le chart boucle sur cette liste pour générer l'Ingress
|
|
||||||
hosts:
|
hosts:
|
||||||
- nextcloud-prd.example.com
|
- nextcloud-prd.example.com
|
||||||
|
|
||||||
# 2. Configuration interne de Nextcloud (Trusted Domains)
|
# Configuration de l'application
|
||||||
nextcloud:
|
nextcloud:
|
||||||
host: nextcloud-prd.example.com
|
host: nextcloud-prd.example.com
|
||||||
username: admin
|
username: admin
|
||||||
password: prd
|
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:
|
configs:
|
||||||
proxy.config.php: |-
|
trusted_domains.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
'overwriteprotocol' => 'https',
|
'trusted_domains' =>
|
||||||
'trusted_proxies' => array('0.0.0.0/0'),
|
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:
|
# # nextcloud:
|
||||||
# host: nextcloud-prd.example.com
|
# host: nextcloud-prd.example.com
|
||||||
|
|||||||
Reference in New Issue
Block a user