Skip to content

Commit

Permalink
make apps in single layer
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Mar 5, 2025
1 parent e874afd commit d299c3b
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/components/templates/argocd-vars.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ configs:
controller:
env:
- name: ARGOCD_SYNC_WAVE_DELAY
value: "30"
value: "5"

redis:
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion manifest/basement/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: basement-applications
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-300"
argocd.argoproj.io/sync-wave: "-390"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
5 changes: 0 additions & 5 deletions manifest/basement/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
resources:
- ./hnc/application.yaml
- ./metrics-server/application.yaml
- ./reloader/application.yaml
- ./system-rbac/application.yaml

- ./hierarchy.yaml
2 changes: 1 addition & 1 deletion manifest/infrastructure/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: infrastructure-applications
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-200"
argocd.argoproj.io/sync-wave: "-290"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
controller:
env:
- name: ARGOCD_SYNC_WAVE_DELAY
value: "30"
value: "5"
metrics:
enabled: true
serviceMonitor:
Expand Down
8 changes: 0 additions & 8 deletions manifest/infrastructure/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
resources:
- ./cilium/application.yaml
- ./argocd/application.yaml
- ./rook-ceph/application.yaml
- ./traefik/application.yaml
- ./forward-auth/application.yaml
- ./cert-manager/application.yaml
- ./dex/application.yaml

- ./hierarchy.yaml
20 changes: 20 additions & 0 deletions manifest/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
resources:
- ./basement/application.yaml
- ./basement/hnc/application.yaml
- ./basement/metrics-server/application.yaml
- ./basement/reloader/application.yaml
- ./basement/system-rbac/application.yaml

- ./infrastructure/application.yaml
- ./infrastructure/cert-manager/application.yaml
- ./infrastructure/cilium/application.yaml
- ./infrastructure/traefik/application.yaml
- ./infrastructure/rook-ceph/application.yaml
- ./infrastructure/dex/application.yaml
- ./infrastructure/argocd/application.yaml
- ./infrastructure/forward-auth/application.yaml

- ./monitoring/application.yaml
- ./monitoring/dashboard/application.yaml
- ./monitoring/prometheus-stack/application.yaml

- ./user/application.yaml
- ./user/postgres/application.yaml
- ./user/redis/application.yaml
- ./user/scoreserver/main/application.yaml
- ./user/scoreserver/sub/application.yaml
2 changes: 1 addition & 1 deletion manifest/monitoring/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: monitoring-applications
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-100"
argocd.argoproj.io/sync-wave: "-190"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
3 changes: 0 additions & 3 deletions manifest/monitoring/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
resources:
- ./dashboard/application.yaml
- ./prometheus-stack/application.yaml

- ./hierarchy.yaml
2 changes: 2 additions & 0 deletions manifest/user/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: user-applications
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-90"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
4 changes: 0 additions & 4 deletions manifest/user/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
resources:
- ./hierarchy.yaml
- ./postgres/application.yaml
- ./redis/application.yaml
- ./scoreserver/main/application.yaml
- ./scoreserver/sub/application.yaml

0 comments on commit d299c3b

Please sign in to comment.