update new config
This commit is contained in:
@@ -9,7 +9,7 @@ spec:
|
||||
repoURL: https://git.gkdomaine.fr/kubernetes/argocd.git
|
||||
revision: main
|
||||
files:
|
||||
- path: "configs/*/config.json" # Il lit le fichier de config
|
||||
- path: "apps/configs/*/config.json" # Il lit le fichier de config
|
||||
# - path: "headlamp/*/config-dev.json" # Il lit le fichier de config
|
||||
template:
|
||||
metadata:
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
source:
|
||||
repoURL: https://git.gkdomaine.fr/kubernetes/argocd.git
|
||||
targetRevision: main
|
||||
path: 'headlamp/{{path.basename}}' # Pointe vers le répertoire Helm contenant Chart.yaml
|
||||
path: 'helm/headlamp/{{path.basename}}' # Pointe vers le répertoire Helm contenant Chart.yaml
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
|
||||
4
apps/configs/dev/config.json
Normal file
4
apps/configs/dev/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "cluster-dev",
|
||||
"server": "https://10.78.106.100:6444"
|
||||
}
|
||||
4
apps/configs/rct/config.json
Normal file
4
apps/configs/rct/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "cluster-rct",
|
||||
"server": "https://kubernetes.default.svc"
|
||||
}
|
||||
Reference in New Issue
Block a user