REFACTOR(postgresql): restructure pgweb

- and pg-dev folder str...
- Remove argocd/, helm-values/ subdirectories
- Move files to parent directory with standardized names
- Add namespace.yaml to both apps with Goldilocks labels
- Preserve vault/ subdirectories (pgweb: 3 files, postgresql-dev: 1
  file)
- Update main kustomization.yaml to reference argocd.yaml files directly
- Update postgresql-dev helm valueFiles path
- Comment out argocd.yaml in each app's kustomization.yaml to prevent
  circular reference

Applications restructured:
- pgweb
- postgresql-dev
This commit is contained in:
2025-12-29 02:24:12 +09:00
parent 55380edbd4
commit d9df80bca3
7 changed files with 19 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ spec:
targetRevision: 16.2.1
helm:
valueFiles:
- $values/postgresql-dev/helm-values/postgresql-dev.yaml
- $values/postgresql-dev/helm-values.yaml
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
targetRevision: main
ref: values

View File

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

View File

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