diff --git a/apps/applicationset-traefik.yaml b/apps/applicationset-traefik.yaml index 9c3083d..c75e643 100644 --- a/apps/applicationset-traefik.yaml +++ b/apps/applicationset-traefik.yaml @@ -41,11 +41,6 @@ spec: helm: valueFiles: - values.yaml - # Injection des valeurs depuis config.json - values: | - traefik: - dashboard: - url: "{{traefik.url}}" destination: # Les variables {{name}} et {{server}} viennent du fichier config.json # (deuxième générateur du merge) diff --git a/configs/dev/config.json b/configs/dev/config.json index 8df8f3b..738d929 100644 --- a/configs/dev/config.json +++ b/configs/dev/config.json @@ -4,13 +4,5 @@ "repository": "https://git.gkdomaine.fr/kubernetes/argocd.git", "targetRevision": "main", "helmPath": "helm", - "domain": ".dev.gkdomaine.local", - - "traefik": { - "url": "traefik{{domain}}" - }, - - "homarr": { - "url": "homarr{{domain}}" - } + "domain": ".dev.gkdomaine.local" } diff --git a/helm/traefik/dev/values.yaml b/helm/traefik/dev/values.yaml index f8de7b9..cd72fd3 100644 --- a/helm/traefik/dev/values.yaml +++ b/helm/traefik/dev/values.yaml @@ -65,4 +65,4 @@ traefik: # 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: - url: "" # Sera remplacé par la variable traefik.url du config.json + url: "traefik.dev.gkdomaine.local" # Sera remplacé par la variable traefik.url du config.json