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:
@@ -2,8 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
|
||||
# - argocd/pgweb.yaml
|
||||
# argocd.yaml은 수동으로 관리 (순환 참조 방지)
|
||||
# - argocd.yaml
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
- vault/serviceaccount.yaml
|
||||
- vault/secretstore.yaml
|
||||
|
||||
6
pgweb/namespace.yaml
Normal file
6
pgweb/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: pgweb
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
6
postgresql-dev/namespace.yaml
Normal file
6
postgresql-dev/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: postgresql-dev
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
Reference in New Issue
Block a user