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:
@@ -15,7 +15,7 @@ spec:
|
||||
targetRevision: 10.3.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/grafana/helm-values/grafana.yaml
|
||||
- $values/grafana/helm-values.yaml
|
||||
# Values file from Git repository
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/monitoring.git
|
||||
targetRevision: main
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: monitoring
|
||||
namespace: grafana
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
@@ -2,7 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
|
||||
# - argocd/grafana.yaml
|
||||
# ArgoCD Application 리소스는 monitoring/kustomization.yaml에서 관리
|
||||
# - argocd.yaml
|
||||
|
||||
- namespace.yaml
|
||||
- vault/grafana-admin-password.yaml
|
||||
- ingress.yaml
|
||||
|
||||
6
grafana/namespace.yaml
Normal file
6
grafana/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: grafana
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
Reference in New Issue
Block a user