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:
@@ -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
6
argocd/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: argocd
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
@@ -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
|
||||
|
||||
6
cert-manager/namespace.yaml
Normal file
6
cert-manager/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cert-manager
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
Reference in New Issue
Block a user