REFACTOR(repo): restructure infra folder structure

- Remove argocd/, helm-values/, ingress/ subdirectories
- Move files to parent directory with standardized names
- Add namespace.yaml to all apps with Goldilocks labels
- Preserve vault/ subdirectories (falco, velero)
- Update main kustomization.yaml to reference argocd.yaml files directly
- Comment out argocd.yaml in each app's kustomization.yaml to prevent
  circular reference

Applications restructured:
- cert-manager (2 ArgoCD apps)
- external-secrets
- reloader
- vault (2 ArgoCD apps)
- velero (2 ArgoCD apps)
- falco
- cnpg
- haproxy
- metallb
- vpa
- argocd
This commit is contained in:
2025-12-29 02:21:00 +09:00
parent 0c79aea82f
commit ce2ee8d39e
8 changed files with 18 additions and 4 deletions

View File

@@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- argocd-cmd-params-cm.yaml
- ingress/argocd-server-ingress.yaml
- ingress.yaml

6
argocd/namespace.yaml Normal file
View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: argocd
labels:
goldilocks.fairwinds.com/enabled: "true"

View File

@@ -2,8 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
# - argocd/cert-manager.yaml
# - argocd/cert-manager-issuers.yaml
# argocd.yaml files은 수동으로 관리 (순환 참조 방지)
# - argocd-certmanager.yaml
# - argocd-issuers.yaml
- namespace.yaml
- cluster-issuer-prod.yaml
- cluster-issuer-staging.yaml

View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
labels:
goldilocks.fairwinds.com/enabled: "true"