diff --git a/apps/applicationset-headlamp.yaml b/apps/applicationset-headlamp.yaml index 2f6737f..e076607 100644 --- a/apps/applicationset-headlamp.yaml +++ b/apps/applicationset-headlamp.yaml @@ -9,7 +9,8 @@ spec: repoURL: https://git.gkdomaine.fr/kubernetes/argocd.git revision: main files: - - path: "headlamp/*/config.json" # Il lit le fichier de config + - path: "configs/*/config.json" # Il lit le fichier de config + # - path: "headlamp/*/config-dev.json" # Il lit le fichier de config template: metadata: # {{path.basename}} sera remplacé par "dev" ou "prd" diff --git a/headlamp/dev/config.json b/configs/dev/config.json similarity index 100% rename from headlamp/dev/config.json rename to configs/dev/config.json diff --git a/configs/rct/config.json b/configs/rct/config.json new file mode 100644 index 0000000..b42d112 --- /dev/null +++ b/configs/rct/config.json @@ -0,0 +1,4 @@ +{ + "name": "cluster-rct", + "server": "https://kubernetes.default.svc" +}