From 29c43203570ec28092fdd95f02397e9c12a1e81e Mon Sep 17 00:00:00 2001 From: Melvin Gabali Date: Sun, 11 Jan 2026 05:52:03 +0100 Subject: [PATCH] Update config file for RCT cluster --- apps/applicationset-headlamp.yaml | 3 ++- {headlamp => configs}/dev/config.json | 0 configs/rct/config.json | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) rename {headlamp => configs}/dev/config.json (100%) create mode 100644 configs/rct/config.json 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" +}