Files
project-infra/gitops/clusters

Cluster Entrypoints

클러스터별 최종 desired state 진입점입니다. GitOps controller의 root는 이 디렉터리 아래 하나의 실제 cluster leaf만 가리킵니다.

소규모:

clusters/
└── dev/
    └── main/
        └── kustomization.yaml

다중 환경·리전:

clusters/
├── dev/ap-northeast-2/dev-a/
├── staging/ap-northeast-2/staging-a/
└── prod/
    ├── ap-northeast-2/prod-a/
    └── ap-southeast-1/prod-b/

cluster leaf에는 catalog 구현을 복사하지 않고 선택 목록과 cluster 고유 patch만 둡니다. 계정 또는 조직 경계가 필요하면 경로 segment를 추가할 수 있지만 자동화가 고정 depth에 의존하지 않도록 합니다.

_template을 실제 경로로 복사해 시작합니다.

Current lab exception

lab/main은 CRD, Vault, Secret과 one-shot operation의 readiness 경계 때문에 단일 direct leaf 대신 namespaces와 ordered stages/* leaf를 사용합니다. 현재는 scripts/bin/bootstrap.sh가 순서를 보장합니다. all/은 감사 aggregate이므로 controller root로 지정하거나 apply하지 않습니다.