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 cedb4ec0d4
commit 34a1c9f783
14 changed files with 29 additions and 8 deletions

View File

@@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리 # argocd.yaml은 수동으로 관리 (순환 참조 방지)
# - argocd/external-secrets.yaml # - argocd.yaml
- namespace.yaml

View File

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

View File

@@ -2,10 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# ArgoCD Application 리소스는 root kustomization.yaml에서 관리 # argocd.yaml은 수동으로 관리 (순환 참조 방지)
# - argocd/falco.yaml # - argocd.yaml
- namespace.yaml
# Falco UI credentials from Vault # Falco UI credentials from Vault
- vault/falco-ui-secret.yaml - vault/falco-ui-secret.yaml
# Falco UI Ingress # Falco UI Ingress
- ingress/falco-ui-ingress.yaml - ingress.yaml

6
falco/namespace.yaml Normal file
View File

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

View File

@@ -2,9 +2,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리 # argocd.yaml files은 수동으로 관리 (순환 참조 방지)
# - argocd/vault.yaml # - argocd-vault.yaml
# - argocd/vault-secrets.yaml # - argocd-secrets.yaml
- namespace.yaml
# External Secrets integration # External Secrets integration
# ServiceAccount is managed by external-secrets Helm chart # ServiceAccount is managed by external-secrets Helm chart

6
vault/namespace.yaml Normal file
View File

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