REFACTOR(repo): restructure monitoring folder

- and add namespace resou...
- Remove argocd/, helm-values/, ingress/ subdirectories
- Move files to parent directory (argocd.yaml, helm-values.yaml,
  ingress.yaml)
- Update helm valueFiles paths in ArgoCD Applications
- Add namespace.yaml to all applications with Goldilocks labels
- Update destination namespaces to match folder names
- Update kustomization.yaml files to reference new structure
This commit is contained in:
2025-12-29 00:49:04 +09:00
parent 01c10141a9
commit 5c4676ca9a
33 changed files with 94 additions and 32 deletions

View File

@@ -11,13 +11,13 @@ spec:
targetRevision: 6.24.0
helm:
valueFiles:
- $values/loki/helm-values/loki.yaml
- $values/loki/helm-values.yaml
- repoURL: https://gitea0213.kro.kr/bluemayne/monitoring.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: logging
namespace: loki
syncPolicy:
automated:
prune: true

View File

@@ -2,5 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
# - argocd/loki.yaml
# ArgoCD Application 리소스는 monitoring/kustomization.yaml에서 관리
# - argocd.yaml
- namespace.yaml

6
loki/namespace.yaml Normal file
View File

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