Commit graph

5 commits

Author SHA1 Message Date
CTO Agent
f0dd8d8d04 ArgoCD: Replace complex stack sync with individual application syncs
Migrated from single recursive directory sync to individual Application
manifests for better control and visibility.

Changes:
- Created app-*.yaml for each application (10 apps)
- Disabled auto-sync on all apps for safe migration
- Disabled old app-stack-basicstack-de.yaml complex sync
- Updated app-argocd.yaml to disable auto-sync during migration
- Added ARGOCD-MIGRATION.md with migration plan and next steps
- Updated apps/README.md to document new structure

Each app now needs:
1. Manual sync verification
2. Health check
3. Auto-sync enablement (tracked in separate tasks)

Related: DEV-287

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 10:44:41 +00:00
CTO Agent
146b206e80 revert: restore argocd/** exclusion in stack-basicstack-de
Removing the exclusion caused the root app to apply argocd raw manifests
directly (bypassing kustomize), breaking namespace resolution. The correct
self-management design is: app-argocd.yaml Application is picked up by the
root app, which then delegates to the argocd Application managing apps/argocd/
via kustomize. The exclusion of argocd/** prevents double-applying resources.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 09:39:51 +00:00
CTO Agent
40e864b71f feat(argocd): enable self-management by removing argocd exclusion
Remove the 'argocd/**' exclusion from the root stack Application so that
Argo CD manages its own configuration via the app-of-apps pattern.
The apps/argocd/ directory already contains all manifests (install, ingress,
sealed secrets) and app-argocd.yaml defines the dedicated argocd Application.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 09:37:47 +00:00
CTO Agent
a4657317f2 Simplify argocd exclusion pattern to fix discovery issue
Change from multiline exclude with **/ pattern to simple single-line
'argocd/**' pattern relative to apps/ path.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 09:29:53 +00:00
CTO Agent
7b6a0064b9 Move Application manifests to apps root for proper self-management
Move all Application manifests (app-*.yaml) out of apps/argocd/ to apps/
to avoid chicken-and-egg issue where Applications couldn't update themselves.

Architecture:
- apps/app-stack-basicstack-de.yaml: manages apps/** excluding argocd/**
- apps/app-argocd.yaml: manages apps/argocd/** via kustomize
- apps/app-basicstack-org.yaml: manages basicstack.org repo

This enables full self-management: all Applications can sync their own
configurations from git.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 09:27:28 +00:00
Renamed from apps/argocd/app-stack-basicstack-de.yaml (Browse further)