This commit is contained in:
2026-01-12 05:33:02 +01:00
parent 091ed81bcc
commit eff6a4c84d
3 changed files with 10 additions and 3 deletions

View File

@@ -41,6 +41,11 @@ spec:
helm: helm:
valueFiles: valueFiles:
- values.yaml - values.yaml
# Injection des valeurs depuis config.json
values: |
traefik:
dashboard:
url: "{{traefik.url}}"
destination: destination:
# Les variables {{name}} et {{server}} viennent du fichier config.json # Les variables {{name}} et {{server}} viennent du fichier config.json
# (deuxième générateur du merge) # (deuxième générateur du merge)

View File

@@ -4,12 +4,13 @@
"repository": "https://git.gkdomaine.fr/kubernetes/argocd.git", "repository": "https://git.gkdomaine.fr/kubernetes/argocd.git",
"targetRevision": "main", "targetRevision": "main",
"helmPath": "helm", "helmPath": "helm",
"domain": ".dev.gkdomaine.local",
"traefik": { "traefik": {
"url": "traefik.dev.gkdomaine.local" "url": "traefik{{domain}}"
}, },
"homarr": { "homarr": {
"url": "homarr.dev.gkdomaine.local" "url": "homarr{{domain}}"
} }
} }

View File

@@ -63,5 +63,6 @@ traefik:
# Configuration du dashboard Traefik # Configuration du dashboard Traefik
# Le dashboard est accessible via l'IngressRoute créé dans templates/config.yaml # Le dashboard est accessible via l'IngressRoute créé dans templates/config.yaml
# L'URL est injectée depuis config.json via l'ApplicationSet (section helm.values)
dashboard: dashboard:
url: traefik.dev.gkdomaine.local url: "" # Sera remplacé par la variable traefik.url du config.json